From 9a08fb52bf1224b33579dea75f2071cbe4fd118f Mon Sep 17 00:00:00 2001 From: vitaut Date: Tue, 24 Nov 2015 09:13:48 -0800 Subject: [PATCH] Fix compilation with clang and old libstdc++ --- format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.h b/format.h index 09007a45..8316d918 100644 --- a/format.h +++ b/format.h @@ -207,7 +207,7 @@ inline uint32_t clzll(uint64_t x) { // makes the fmt::literals implementation easier. However, an explicit check // for variadic templates is added here just in case. # define FMT_USE_USER_DEFINED_LITERALS \ - FMT_USE_VARIADIC_TEMPLATES && \ + FMT_USE_VARIADIC_TEMPLATES && FMT_USE_RVALUE_REFERENCES && \ (FMT_HAS_FEATURE(cxx_user_literals) || \ (FMT_GCC_VERSION >= 407 && FMT_HAS_GXX_CXX11) || _MSC_VER >= 1900) #endif