summaryrefslogtreecommitdiffstats
path: root/libcxx/include/thread
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2015-08-19 03:38:41 +0000
committerEric Fiselier <eric@efcs.ca>2015-08-19 03:38:41 +0000
commit9a5e62bf75452d3a806c2bbc7f3de0cafa9407da (patch)
tree92533f16568e69c53a7272818dc1b5a5c4a308ed /libcxx/include/thread
parent44a1385c45321bf506fd2343372afe94347c2db8 (diff)
downloadbcm5719-llvm-9a5e62bf75452d3a806c2bbc7f3de0cafa9407da.tar.gz
bcm5719-llvm-9a5e62bf75452d3a806c2bbc7f3de0cafa9407da.zip
Fix use of static_assert macro with nested commas
llvm-svn: 245410
Diffstat (limited to 'libcxx/include/thread')
-rw-r--r--libcxx/include/thread2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/thread b/libcxx/include/thread
index 6be11337c21..3dde390261c 100644
--- a/libcxx/include/thread
+++ b/libcxx/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();
OpenPOWER on IntegriCloud