diff options
Diffstat (limited to 'src/lib/utils/thread_utils/barrier.cpp')
-rw-r--r-- | src/lib/utils/thread_utils/barrier.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/utils/thread_utils/barrier.cpp b/src/lib/utils/thread_utils/barrier.cpp index a5df95101..fae0b46dd 100644 --- a/src/lib/utils/thread_utils/barrier.cpp +++ b/src/lib/utils/thread_utils/barrier.cpp @@ -11,13 +11,13 @@ namespace Botan { void Barrier::wait(size_t delta) { - lock_guard_type<mutex_type> lock(m_mutex); + lock_guard_type<std::mutex> lock(m_mutex); m_value += delta; } void Barrier::sync() { - std::unique_lock<mutex_type> lock(m_mutex); + std::unique_lock<std::mutex> lock(m_mutex); if(m_value > 1) { |