mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-13 10:42:56 +01:00
changed to copying the file path upon message creation
This commit is contained in:
parent
cb3e2b1336
commit
793ddbd42e
@ -90,7 +90,7 @@ namespace g3 {
|
||||
timespec _timestamp;
|
||||
std::thread::id _call_thread_id;
|
||||
std::string _file;
|
||||
const char * _file_path;
|
||||
std::string _file_path;
|
||||
int _line;
|
||||
std::string _function;
|
||||
LEVELS _level;
|
||||
|
@ -160,7 +160,7 @@ namespace g3 {
|
||||
: _timestamp(other._timestamp)
|
||||
, _call_thread_id(other._call_thread_id)
|
||||
, _file(std::move(other._file))
|
||||
, _file_path(other._file_path)
|
||||
, _file_path(std::move(other._file_path))
|
||||
, _line(other._line)
|
||||
, _function(std::move(other._function))
|
||||
, _level(other._level)
|
||||
|
Loading…
Reference in New Issue
Block a user