Update log_msg.h

`SPDLOG_NO_THREAD_ID` should only affect thread retrieval.
This commit is contained in:
scribam
2019-01-17 00:23:06 +01:00
committed by GitHub
parent f4c737ef42
commit 1798a1fa12

View File

@@ -25,9 +25,9 @@ struct log_msg
#ifndef SPDLOG_NO_THREAD_ID
, thread_id(os::thread_id())
#endif
, source(loc)
, payload(view)
#endif
{
}