summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/include/atomic2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/atomic b/libcxx/include/atomic
index 2f10eabea01..711c78a4b0e 100644
--- a/libcxx/include/atomic
+++ b/libcxx/include/atomic
@@ -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) || \
OpenPOWER on IntegriCloud