Fix shared_mutex dll import errors on Windows
authorEric Fiselier <eric@efcs.ca>
Mon, 8 May 2017 01:31:50 +0000 (01:31 +0000)
committerEric Fiselier <eric@efcs.ca>
Mon, 8 May 2017 01:31:50 +0000 (01:31 +0000)
llvm-svn: 302394

libcxx/include/shared_mutex

index b0802ae..ff36ee6 100644 (file)
@@ -177,7 +177,7 @@ class _LIBCPP_TYPE_VIS _LIBCPP_AVAILABILITY_SHARED_MUTEX shared_mutex
 {
     __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;