diff options
Diffstat (limited to 'src/lib/utils/thread_utils/semaphore.cpp')
-rw-r--r-- | src/lib/utils/thread_utils/semaphore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/thread_utils/semaphore.cpp b/src/lib/utils/thread_utils/semaphore.cpp index 2667d4e0c..0858a013f 100644 --- a/src/lib/utils/thread_utils/semaphore.cpp +++ b/src/lib/utils/thread_utils/semaphore.cpp @@ -15,7 +15,7 @@ void Semaphore::release(size_t n) { for(size_t i = 0; i != n; ++i) { - lock_guard_type<std::mutex> lock(m_mutex); + std::lock_guard<std::mutex> lock(m_mutex); if(m_value++ < 0) { |