Fix compilation with intel compilers (ICC/ICPC) v14.0

This commit is contained in:
Guillaume Fraux
2018-09-26 13:22:49 +00:00
committed by Victor Zverovich
parent 4cf21f58b2
commit e864acfdbd
3 changed files with 5 additions and 3 deletions

View File

@@ -89,7 +89,8 @@
# endif
#endif
#if FMT_HAS_FEATURE(cxx_explicit_conversions) || FMT_MSC_VER >= 1800
#if FMT_HAS_FEATURE(cxx_explicit_conversions) || \
FMT_GCC_VERSION >= 405 || FMT_MSC_VER >= 1800
# define FMT_EXPLICIT explicit
#else
# define FMT_EXPLICIT