mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
util: add SteadyClock
type alias to std::chrono::steady_clock
courtesy of c84390b from bitcoin#25487
This commit is contained in:
parent
5b338c33da
commit
1e609cff61
@ -14,6 +14,7 @@
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
using SteadyClock = std::chrono::steady_clock;
|
||||
using SteadySeconds = std::chrono::time_point<std::chrono::steady_clock, std::chrono::seconds>;
|
||||
using SteadyMilliseconds = std::chrono::time_point<std::chrono::steady_clock, std::chrono::milliseconds>;
|
||||
using SteadyMicroseconds = std::chrono::time_point<std::chrono::steady_clock, std::chrono::microseconds>;
|
||||
|
Loading…
Reference in New Issue
Block a user