mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +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