Fix version check.

This commit is contained in:
Victor Zverovich
2014-04-24 14:55:18 -07:00
parent b61bb5d635
commit daaa314aac

View File

@ -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.