Fix miniglog.h bug

This commit is contained in:
Kalman 2018-11-16 18:42:54 +08:00
parent 4021c565d2
commit 0610d43fe5

View File

@ -242,7 +242,7 @@ class MYNTEYE_API MessageLogger {
struct tm *timeinfo;
time(&rawtime);
timeinfo = localtime_r(&rawtime);
timeinfo = localtime(&rawtime);
std::set<google::LogSink *>::iterator iter;
// Send the log message to all sinks.
for (iter = google::log_sinks_global.begin();