mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 13:05:11 +00:00
use assign
This commit is contained in:
parent
45f9aa7261
commit
e960b6be30
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ int writeLog(int level, const char* msg, fmt::printf_args args) {
|
|||
|
||||
printf("logPosition: %d\n",pos);
|
||||
|
||||
logEntries[pos].text=fmt::vsprintf(msg,args);
|
||||
logEntries[pos].text.assign(fmt::vsprintf(msg,args));
|
||||
// why do I have to pass a pointer
|
||||
// can't I just pass the time_t directly?!
|
||||
#ifdef _WIN32
|
||||
|
|
Loading…
Reference in a new issue