Fix shared_mutex dll import errors on Windows

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@302394 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/shared_mutex b/include/shared_mutex
index b0802ae..ff36ee6 100644
--- a/include/shared_mutex
+++ b/include/shared_mutex
@@ -177,7 +177,7 @@
 {
     __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;