fix special build on clang 11

This commit is contained in:
feng lv 2021-07-02 05:51:53 +00:00
parent eb6edd8803
commit 1d332da0ed

View File

@ -29,7 +29,7 @@ void trim(String & s)
/// Copyright (c) 2017-2018, Marcin Konarski (amok at codestation.org)
/// Copyright (c) 2010, Salvatore Sanfilippo (antirez at gmail dot com)
/// Copyright (c) 2010, Pieter Noordhuis (pcnoordhuis at gmail dot com)
static std::string replxx_now_ms_str()
std::string replxx_now_ms_str()
{
std::chrono::milliseconds ms(std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()));
time_t t = ms.count() / 1000;