Merge pull request #63 from cstamatopoulos/fix-msvc2013-compilation

fix msvc2013 compilation issue of internal::g_log_level_status on res…
This commit is contained in:
Kjell Hedström 2015-11-24 00:22:18 -07:00
commit 77b1d1c0d5

View File

@ -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<int, atomicbool>{{g3::kDebugVaulue, true}, {INFO.value, true}, {WARNING.value, true}, {FATAL.value, true}};
}
} // only_change_at_initialization
#endif