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
2 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue