From 0610d43fe5af936a133a3cbc86ba10a5a3458659 Mon Sep 17 00:00:00 2001 From: Kalman Date: Fri, 16 Nov 2018 18:42:54 +0800 Subject: [PATCH] Fix miniglog.h bug --- include/mynteye/miniglog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mynteye/miniglog.h b/include/mynteye/miniglog.h index 5af44a2..844bf85 100644 --- a/include/mynteye/miniglog.h +++ b/include/mynteye/miniglog.h @@ -242,7 +242,7 @@ class MYNTEYE_API MessageLogger { struct tm *timeinfo; time(&rawtime); - timeinfo = localtime_r(&rawtime); + timeinfo = localtime(&rawtime); std::set::iterator iter; // Send the log message to all sinks. for (iter = google::log_sinks_global.begin();