From f99b59c784febdbce4f5a12200f573c4cac920a6 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 19 Aug 2015 03:38:41 +0000 Subject: [PATCH] Fix use of static_assert macro with nested commas git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@245410 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/thread | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/thread b/include/thread index 6be11337c..3dde39026 100644 --- a/include/thread +++ b/include/thread @@ -141,7 +141,7 @@ class __thread_specific_ptr // Only __thread_local_data() may construct a __thread_specific_ptr // and only with _Tp == __thread_struct. - static_assert(is_same<_Tp, __thread_struct>::value, ""); + static_assert((is_same<_Tp, __thread_struct>::value), ""); __thread_specific_ptr(); friend _LIBCPP_FUNC_VIS __thread_specific_ptr<__thread_struct>& __thread_local_data();