Support boost 1.76:

* remove unused `std::hash` specialization
* Use `std::chrono::floor` instead of `floor`
This commit is contained in:
seelabs
2021-04-11 17:28:31 -04:00
committed by manojsdoshi
parent fa9ecae2d6
commit 04ff6249d5
6 changed files with 7 additions and 19 deletions

View File

@@ -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] =