[libcxx-commits] [libcxx] r355758 - Fix C++03 build failure

Eric Fiselier via libcxx-commits libcxx-commits at lists.llvm.org
Fri Mar 8 15:30:27 PST 2019


Author: ericwf
Date: Fri Mar  8 15:30:26 2019
New Revision: 355758

URL: http://llvm.org/viewvc/llvm-project?rev=355758&view=rev
Log:
Fix C++03 build failure

Modified:
    libcxx/trunk/include/atomic

Modified: libcxx/trunk/include/atomic
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/atomic?rev=355758&r1=355757&r2=355758&view=diff
==============================================================================
--- libcxx/trunk/include/atomic (original)
+++ libcxx/trunk/include/atomic Fri Mar  8 15:30:26 2019
@@ -629,7 +629,7 @@ typedef enum memory_order {
 
 #endif // _LIBCPP_STD_VER > 17
 
-static_assert(is_same<underlying_type<memory_order>::type, __memory_order_underlying_t>::value,
+static_assert((is_same<underlying_type<memory_order>::type, __memory_order_underlying_t>::value),
   "unexpected underlying type for std::memory_order");
 
 #if defined(_LIBCPP_HAS_GCC_ATOMIC_IMP) || \




More information about the libcxx-commits mailing list