mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Fix version check.
This commit is contained in:
parent
b61bb5d635
commit
daaa314aac
4
format.h
4
format.h
@ -80,7 +80,7 @@
|
||||
(FMT_GCC_VERSION >= 403 && __cplusplus >= 201103) || _MSC_VER >= 1600)
|
||||
// Don't use rvalue references when compiling with clang and an old libstdc++
|
||||
// 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
|
||||
# endif
|
||||
#endif
|
||||
@ -165,6 +165,8 @@ class Array {
|
||||
other.ptr_ = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: move assignment operator
|
||||
#endif
|
||||
|
||||
// Returns the size of this array.
|
||||
|
Loading…
Reference in New Issue
Block a user