Fix FMT_EXPLICIT detection for GCC

This commit is contained in:
Guillaume Fraux 2018-09-26 14:31:40 +00:00
parent 0fd90dfdf1
commit bb845ccc51

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