From d6cb44766741f080508ad2c9230eb11cb21e376a Mon Sep 17 00:00:00 2001 From: gabime Date: Thu, 19 Apr 2018 18:41:00 +0300 Subject: [PATCH] fixed compile error --- example/example.vcxproj | 8 ++++---- include/spdlog/details/traits.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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; } };