This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Forward to correct function in std::shared_mutex::unlock().
- From: Eelis <eelis at eelis dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 13 Aug 2015 01:07:26 +0200
- Subject: [PATCH] Forward to correct function in std::shared_mutex::unlock().
- Authentication-results: sourceware.org; auth=none
Looks like a typo. :)
Index: libstdc++-v3/include/std/shared_mutex
===================================================================
--- libstdc++-v3/include/std/shared_mutex (revision 226840)
+++ libstdc++-v3/include/std/shared_mutex (working copy)
@@ -331,7 +331,7 @@
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