mirror of
https://github.com/KjellKod/g3log.git
synced 2025-01-21 02:00:34 +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)
|
: _logDetailsToStringFunc(LogMessage::DefaultLogDetailsToString)
|
||||||
, _timestamp(std::chrono::high_resolution_clock::now())
|
, _timestamp(std::chrono::high_resolution_clock::now())
|
||||||
, _call_thread_id(std::this_thread::get_id())
|
, _call_thread_id(std::this_thread::get_id())
|
||||||
, _file(LogMessage::splitFileName(file))
|
|
||||||
#if defined(G3_LOG_FULL_FILENAME)
|
#if defined(G3_LOG_FULL_FILENAME)
|
||||||
, _file(file)
|
, _file(file)
|
||||||
|
#else
|
||||||
|
, _file(LogMessage::splitFileName(file))
|
||||||
#endif
|
#endif
|
||||||
, _file_path(file)
|
, _file_path(file)
|
||||||
, _line(line)
|
, _line(line)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user