From 1b7c8905b7a99615bf04783cd75398d73b3e8c63 Mon Sep 17 00:00:00 2001 From: dijunkun Date: Wed, 27 Nov 2024 10:56:43 +0800 Subject: [PATCH] [fix] fix all unused variables and type conversions on MacOSX --- src/log/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log/log.cpp b/src/log/log.cpp index d690207..0544d1c 100644 --- a/src/log/log.cpp +++ b/src/log/log.cpp @@ -13,7 +13,7 @@ std::shared_ptr get_logger() { #ifdef _WIN32 gmtime_s(&tm_info, &now_time); #else - std::gmtime_r(&now_time, &tm_info); + gmtime_r(&now_time, &tm_info); #endif std::stringstream ss;