mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Support boost 1.76:
* remove unused `std::hash` specialization * Use `std::chrono::floor` instead of `floor`
This commit is contained in:
@@ -288,7 +288,7 @@ PerfLogImp::report()
|
||||
lastLog_ = present;
|
||||
|
||||
Json::Value report(Json::objectValue);
|
||||
report[jss::time] = to_string(floor<microseconds>(present));
|
||||
report[jss::time] = to_string(std::chrono::floor<microseconds>(present));
|
||||
{
|
||||
std::lock_guard lock{counters_.jobsMutex_};
|
||||
report[jss::workers] =
|
||||
|
||||
Reference in New Issue
Block a user