std::once_flag was forward declared with _LIBCPP_TYPE_VIS decoration, and the defined...
authorMarshall Clow <mclow.lists@gmail.com>
Tue, 29 Jul 2014 21:05:31 +0000 (21:05 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Tue, 29 Jul 2014 21:05:31 +0000 (21:05 +0000)
llvm-svn: 214219

libcxx/include/mutex

index e0c02ad..5dfba63 100644 (file)
@@ -425,7 +425,7 @@ lock(_L0& __l0, _L1& __l1, _L2& __l2, _L3& ...__l3)
 
 #endif  // _LIBCPP_HAS_NO_VARIADICS
 
-struct _LIBCPP_TYPE_VIS once_flag;
+struct _LIBCPP_TYPE_VIS_ONLY once_flag;
 
 #ifndef _LIBCPP_HAS_NO_VARIADICS