mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
clear fix
This commit is contained in:
@@ -97,7 +97,7 @@ public:
|
||||
{
|
||||
{
|
||||
std::unique_lock<std::mutex> ul(mutex_);
|
||||
q_ = queue_t{};
|
||||
q_.swap(queue_t());
|
||||
}
|
||||
item_popped_cond_.notify_all();
|
||||
}
|
||||
|
Reference in New Issue
Block a user