mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-01 19:09:03 +08:00
fixed compile error
This commit is contained in:
@@ -28,7 +28,7 @@ namespace spdlog {
|
||||
using mutex_t = std::mutex;
|
||||
static mutex_t& console_mutex()
|
||||
{
|
||||
static auto mutex = mutex_t{};
|
||||
static auto &mutex = mutex_t{};
|
||||
return mutex;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user