mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-13 10:42:56 +01:00
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:
commit
77b1d1c0d5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user