mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 10:31:34 +08:00
fix conflict
This commit is contained in:
commit
6d8cc30f12
@ -40,6 +40,7 @@ struct async_factory_impl
|
|||||||
auto ®istry_inst = details::registry::instance();
|
auto ®istry_inst = details::registry::instance();
|
||||||
|
|
||||||
// create global thread pool if not already exists..
|
// create global thread pool if not already exists..
|
||||||
|
|
||||||
auto &mutex = registry_inst.tp_mutex();
|
auto &mutex = registry_inst.tp_mutex();
|
||||||
std::lock_guard<std::recursive_mutex> tp_lock(mutex);
|
std::lock_guard<std::recursive_mutex> tp_lock(mutex);
|
||||||
auto tp = registry_inst.get_tp();
|
auto tp = registry_inst.get_tp();
|
||||||
|
Loading…
Reference in New Issue
Block a user