mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Chrono fixes for VS Update 2
This commit is contained in:
@@ -272,6 +272,7 @@ private:
|
||||
template <class Duration>
|
||||
void operator() (Duration const& elapsed)
|
||||
{
|
||||
using namespace std::chrono;
|
||||
auto const ms (ceil <std::chrono::milliseconds> (elapsed));
|
||||
|
||||
{
|
||||
@@ -284,7 +285,7 @@ private:
|
||||
if (ms.count() >= 500)
|
||||
{
|
||||
JLOG(m_journal.warning) <<
|
||||
"io_service latency = " << ms;
|
||||
"io_service latency = " << ms.count();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user