diff --git a/example/example.vcxproj b/example/example.vcxproj index e0c1335d..7f3ca68a 100644 --- a/example/example.vcxproj +++ b/example/example.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -51,19 +51,19 @@ {9E5AB93A-0CCE-4BAC-9FCB-0FC9CB5EB8D2} Win32Proj . - 8.1 + 10.0.16299.0 Application true - v120 + v141 Unicode Application false - v120 + v141 true Unicode diff --git a/include/spdlog/details/traits.h b/include/spdlog/details/traits.h index 0b7df424..fb44fa18 100644 --- a/include/spdlog/details/traits.h +++ b/include/spdlog/details/traits.h @@ -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; } };