get_time_now 函数修复

This commit is contained in:
JIe 2025-01-20 16:39:18 +08:00
parent 65cf9572a4
commit 05eb9e5e6f

View File

@ -110,7 +110,7 @@ namespace toolkit
return std::round(value*temp)/temp;
}
std::string get_time_now(){
inline std::string get_time_now(){
auto time_now = std::chrono::system_clock::now();
auto now_c = std::chrono::system_clock::to_time_t(time_now);
char buffer[32];