[libcxx] r302394 - Fix shared_mutex dll import errors on Windows

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Sun May 7 18:31:51 PDT 2017


Author: ericwf
Date: Sun May  7 20:31:50 2017
New Revision: 302394

URL: http://llvm.org/viewvc/llvm-project?rev=302394&view=rev
Log:
Fix shared_mutex dll import errors on Windows

Modified:
    libcxx/trunk/include/shared_mutex

Modified: libcxx/trunk/include/shared_mutex
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/shared_mutex?rev=302394&r1=302393&r2=302394&view=diff
==============================================================================
--- libcxx/trunk/include/shared_mutex (original)
+++ libcxx/trunk/include/shared_mutex Sun May  7 20:31:50 2017
@@ -177,7 +177,7 @@ class _LIBCPP_TYPE_VIS _LIBCPP_AVAILABIL
 {
     __shared_mutex_base __base;
 public:
-    shared_mutex() : __base() {}
+    _LIBCPP_INLINE_VISIBILITY shared_mutex() : __base() {}
     _LIBCPP_INLINE_VISIBILITY ~shared_mutex() = default;
 
     shared_mutex(const shared_mutex&) = delete;




More information about the cfe-commits mailing list