From 3bb9941e374dad7545f082757fbd1006809bd246 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 26 Apr 2014 06:47:25 -0700 Subject: [PATCH] Fix warning. --- format.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/format.h b/format.h index 078b1c9a..09d3cb26 100644 --- a/format.h +++ b/format.h @@ -76,13 +76,14 @@ #endif #ifndef FMT_USE_RVALUE_REFERENCES -# define FMT_USE_RVALUE_REFERENCES \ - (FMT_HAS_FEATURE(cxx_rvalue_references) || \ - (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. # if defined(FMT_GNUC_LIBSTD_VERSION) && FMT_GNUC_LIBSTD_VERSION <= 402 # define FMT_USE_RVALUE_REFERENCES 0 +# else +# define FMT_USE_RVALUE_REFERENCES \ + (FMT_HAS_FEATURE(cxx_rvalue_references) || \ + (FMT_GCC_VERSION >= 403 && __cplusplus >= 201103) || _MSC_VER >= 1600) # endif #endif