Crash and compile issues on windows

This commit is contained in:
KimLS
2019-08-08 15:55:14 -07:00
parent b62944c5fb
commit 880de837d9
6 changed files with 13 additions and 14 deletions
+2 -2
View File
@@ -272,7 +272,7 @@ public:
const char *file,
const char *func,
int line,
const std::string &message,
const char *message,
...
);
@@ -410,7 +410,7 @@ void OutF(
)
{
std::string log_str = fmt::format(fmt, args...);
ls.Out(debug_level, log_category, file, func, line, log_str);
ls.Out(debug_level, log_category, file, func, line, log_str.c_str());
}
#endif