mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Support boost 1.76:
* remove unused `std::hash` specialization * Use `std::chrono::floor` instead of `floor`
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user