From 499d1a51efc049492290ef91f3ca4e1242022aec Mon Sep 17 00:00:00 2001 From: cstamatopoulos Date: Tue, 24 Nov 2015 01:46:27 -0500 Subject: [PATCH] fix msvc2013 compilation issue of internal::g_log_level_status on reset() --- src/loglevels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loglevels.cpp b/src/loglevels.cpp index 78c1edc..7fefe6c 100644 --- a/src/loglevels.cpp +++ b/src/loglevels.cpp @@ -62,7 +62,7 @@ namespace g3 { void reset() { internal::g_log_level_status.clear(); - internal::g_log_level_status = {{g3::kDebugVaulue, true}, {INFO.value, true}, {WARNING.value, true}, {FATAL.value, true}}; + internal::g_log_level_status = std::map{{g3::kDebugVaulue, true}, {INFO.value, true}, {WARNING.value, true}, {FATAL.value, true}}; } } // only_change_at_initialization #endif