mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-31 11:17:35 +02:00
Fix version check.
This commit is contained in:
4
format.h
4
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.
|
||||||
# ifdef FMT_GNUC_LIBSTD_VERSION <= 402
|
# if FMT_GNUC_LIBSTD_VERSION <= 402
|
||||||
# define FMT_USE_RVALUE_REFERENCES 0
|
# define FMT_USE_RVALUE_REFERENCES 0
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
@ -165,6 +165,8 @@ class Array {
|
|||||||
other.ptr_ = 0;
|
other.ptr_ = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: move assignment operator
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Returns the size of this array.
|
// Returns the size of this array.
|
||||||
|
Reference in New Issue
Block a user