From: Eelis van der Weegen Date: Thu, 13 Aug 2015 13:57:28 +0000 (+0000) Subject: shared_mutex (shared_mutex::unlock()): Fix typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c80e54478ba4b9dbb76c98d6be432382e2743c4;p=gcc.git shared_mutex (shared_mutex::unlock()): Fix typo. 2015-08-13 Eelis van der Weegen * include/std/shared_mutex (shared_mutex::unlock()): Fix typo. From-SVN: r226862 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f92a67d1fd3..3a7cc7e3fa0 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2015-08-13 Eelis van der Weegen + + * include/std/shared_mutex (shared_mutex::unlock()): Fix typo. + 2015-08-12 Caroline Tice PR 66521, Contributed by Eric Gallager diff --git a/libstdc++-v3/include/std/shared_mutex b/libstdc++-v3/include/std/shared_mutex index 0a893eef202..ae5f199cdde 100644 --- a/libstdc++-v3/include/std/shared_mutex +++ b/libstdc++-v3/include/std/shared_mutex @@ -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