From 4c80e54478ba4b9dbb76c98d6be432382e2743c4 Mon Sep 17 00:00:00 2001 From: Eelis van der Weegen Date: Thu, 13 Aug 2015 13:57:28 +0000 Subject: [PATCH] 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 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/include/std/shared_mutex | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.30.2