mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-13 10:42:56 +01:00
Fix: VS 2015 logmessage.cpp(167): error C2437: "_file" already initialized (#277)
This commit is contained in:
parent
3c9a590a76
commit
39526ce9d2
@ -157,9 +157,10 @@ namespace g3 {
|
||||
: _logDetailsToStringFunc(LogMessage::DefaultLogDetailsToString)
|
||||
, _timestamp(std::chrono::high_resolution_clock::now())
|
||||
, _call_thread_id(std::this_thread::get_id())
|
||||
, _file(LogMessage::splitFileName(file))
|
||||
#if defined(G3_LOG_FULL_FILENAME)
|
||||
, _file(file)
|
||||
#else
|
||||
, _file(LogMessage::splitFileName(file))
|
||||
#endif
|
||||
, _file_path(file)
|
||||
, _line(line)
|
||||
|
Loading…
Reference in New Issue
Block a user