UPDATE FMT TO 10.1.0 -> **PLEASE READ!** <-
after pulling this commit, type: ``` git submodule update extern/fmt ```
This commit is contained in:
parent
e3eea680d5
commit
7479296d54
|
@ -1 +1 @@
|
|||
Subproject commit afbcf1e8eafc5d7f27e29c7397f22521eaa33fac
|
||||
Subproject commit e57ca2e3685b160617d3d95fcd9e789c4e06ca88
|
|
@ -97,7 +97,11 @@ int writeLog(int level, const char* msg, fmt::printf_args args) {
|
|||
time_t thisMakesNoSense=time(NULL);
|
||||
int pos=(logPosition.fetch_add(1))&TA_LOG_MASK;
|
||||
|
||||
#if FMT_VERSION >= 100100
|
||||
logEntries[pos].text.assign(fmt::vsprintf(fmt::basic_string_view<char>(msg),args));
|
||||
#else
|
||||
logEntries[pos].text.assign(fmt::vsprintf(msg,args));
|
||||
#endif
|
||||
// why do I have to pass a pointer
|
||||
// can't I just pass the time_t directly?!
|
||||
#ifdef _WIN32
|
||||
|
|
Loading…
Reference in New Issue