Skip to content

Commit

Permalink
Follow-up corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Aug 12, 2024
1 parent e9f9d32 commit c9da920
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/verbose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
*/

#include "verbose.hpp"
#include <mutex>
#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)
{
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c9da920

Please sign in to comment.