fix: #212 Undefined behavior on printf
This commit is contained in:
@@ -98,7 +98,7 @@ public:
|
||||
}
|
||||
#ifndef _WINDOWS
|
||||
#ifdef _DEBUG
|
||||
printf(logEntry.c_str());
|
||||
printf("%s", logEntry.c_str());
|
||||
#endif
|
||||
#endif
|
||||
cv.notify_one(); // ֪ͨд<D6AA>߳<EFBFBD>
|
||||
|
||||
Reference in New Issue
Block a user