mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
Fix version check, take 2.
This commit is contained in:
parent
daaa314aac
commit
259a307daf
2
format.h
2
format.h
@ -80,7 +80,7 @@
|
|||||||
(FMT_GCC_VERSION >= 403 && __cplusplus >= 201103) || _MSC_VER >= 1600)
|
(FMT_GCC_VERSION >= 403 && __cplusplus >= 201103) || _MSC_VER >= 1600)
|
||||||
// Don't use rvalue references when compiling with clang and an old libstdc++
|
// Don't use rvalue references when compiling with clang and an old libstdc++
|
||||||
// as the latter doesn't provide std::move.
|
// as the latter doesn't provide std::move.
|
||||||
# if FMT_GNUC_LIBSTD_VERSION <= 402
|
# if defined(FMT_GNUC_LIBSTD_VERSION) && FMT_GNUC_LIBSTD_VERSION <= 402
|
||||||
# define FMT_USE_RVALUE_REFERENCES 0
|
# define FMT_USE_RVALUE_REFERENCES 0
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user