From f6f72c1cf8f393895860bae3d15dce372cefa4f0 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Tue, 2 Oct 2018 19:35:28 +0300 Subject: [PATCH] Rename -> typemap_ptr::unlock() --- Utilities/typemap.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Utilities/typemap.h b/Utilities/typemap.h index 0627dc4dba..4f0fc99df7 100644 --- a/Utilities/typemap.h +++ b/Utilities/typemap.h @@ -390,7 +390,7 @@ namespace utils friend typemap; - void unlock() + void release() { // Additional semaphore is not used for singletons if constexpr (typeinfo_count::max_count > 1) @@ -426,7 +426,7 @@ namespace utils { if (m_block) { - unlock(); + release(); } } @@ -464,11 +464,11 @@ namespace utils } // Release the lock and set invalid state - void release() + void unlock() { if (m_block) { - unlock(); + release(); m_block = nullptr; } }