shared_mutex (shared_mutex::unlock()): Fix typo.
authorEelis van der Weegen <eelis@eelis.net>
Thu, 13 Aug 2015 13:57:28 +0000 (13:57 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 13 Aug 2015 13:57:28 +0000 (14:57 +0100)
2015-08-13  Eelis van der Weegen  <eelis@eelis.net>

* include/std/shared_mutex (shared_mutex::unlock()): Fix typo.

From-SVN: r226862

libstdc++-v3/ChangeLog
libstdc++-v3/include/std/shared_mutex

index f92a67d1fd3be71b27e873cf7d89af313f179d39..3a7cc7e3fa0fba981879f16bae20f0cea85580ba 100644 (file)
@@ -1,3 +1,7 @@
+2015-08-13  Eelis van der Weegen  <eelis@eelis.net>
+
+       * include/std/shared_mutex (shared_mutex::unlock()): Fix typo.
+
 2015-08-12  Caroline Tice <cmtice@google.com>
 
        PR 66521, Contributed by Eric Gallager
index 0a893eef2022252d66bb3aab6ec30794cb2b4d45..ae5f199cddef636e6e4998c67a764b19e03e96ea 100644 (file)
@@ -331,7 +331,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 
     void lock() { _M_impl.lock(); }
     bool try_lock() { return _M_impl.try_lock(); }
-    void unlock() { _M_impl.try_lock(); }
+    void unlock() { _M_impl.unlock(); }
 
     // Shared ownership