[fix] fix all unused variables and type conversions on MacOSX

This commit is contained in:
dijunkun
2024-11-27 10:56:43 +08:00
parent 826fc2d312
commit 1b7c8905b7

View File

@@ -13,7 +13,7 @@ std::shared_ptr<spdlog::logger> get_logger() {
#ifdef _WIN32 #ifdef _WIN32
gmtime_s(&tm_info, &now_time); gmtime_s(&tm_info, &now_time);
#else #else
std::gmtime_r(&now_time, &tm_info); gmtime_r(&now_time, &tm_info);
#endif #endif
std::stringstream ss; std::stringstream ss;