mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
mutex protect should_color()
This commit is contained in:
@@ -135,6 +135,7 @@ public:
|
||||
|
||||
bool should_color()
|
||||
{
|
||||
std::lock_guard<mutex_t> lock(mutex_);
|
||||
return should_do_colors_;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user