From c9da920ffdab55fdc95230df5b2a5a37aa3e2953 Mon Sep 17 00:00:00 2001 From: Maxim Sharabayko Date: Mon, 12 Aug 2024 16:20:06 +0200 Subject: [PATCH] Follow-up corrections. --- apps/verbose.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/verbose.cpp b/apps/verbose.cpp index 61c507ad7..4ea3b47dc 100644 --- a/apps/verbose.cpp +++ b/apps/verbose.cpp @@ -9,13 +9,13 @@ */ #include "verbose.hpp" -#include +#include "sync.h" // srt::sync namespace Verbose { bool on = false; std::ostream* cverb = &std::cerr; - std::mutex vlock; + srt::sync::Mutex vlock; Log& Log::operator<<(LogNoEol) { @@ -44,7 +44,7 @@ namespace Verbose } else if (vlock.try_lock()) { - // Successfully locked, so unlock immediately, locking wasn't required. + // Successfully locked, so unlock immediately, locking wasn't requested. vlock.unlock(); } else