mutex protect should_color()

This commit is contained in:
gabime 2019-05-10 18:46:13 +03:00
parent e504aceeb5
commit 74dbf4cf70

View File

@ -135,6 +135,7 @@ public:
bool should_color()
{
std::lock_guard<mutex_t> lock(mutex_);
return should_do_colors_;
}