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

@@ -2202,8 +2202,8 @@ NetworkOPsImp::getServerInfo(bool human, bool admin, bool counters)
info[jss::server_state] = strOperatingMode(admin);
info[jss::time] = to_string(
floor<std::chrono::microseconds>(std::chrono::system_clock::now()));
info[jss::time] = to_string(std::chrono::floor<std::chrono::microseconds>(
std::chrono::system_clock::now()));
if (needNetworkLedger_)
info[jss::network_ledger] = "waiting";