diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-12-08 16:49:33 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-12-08 16:47:36 +0100 |
commit | fa11110bff6288f63e0c487e2e4b4079fb0f4569 (patch) | |
tree | 3d93598c38ba1b34be157fefb14a38bb24ee940a /src/util | |
parent | 16b31cc4c516cdcaf6d2eb2dd1255cc3e6973ba1 (diff) |
util: Allow use of C++14 chrono literals
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/time.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/time.h b/src/util/time.h index af934e423b..c69f604dc6 100644 --- a/src/util/time.h +++ b/src/util/time.h @@ -6,9 +6,11 @@ #ifndef BITCOIN_UTIL_TIME_H #define BITCOIN_UTIL_TIME_H +#include <chrono> #include <stdint.h> #include <string> -#include <chrono> + +using namespace std::chrono_literals; void UninterruptibleSleep(const std::chrono::microseconds& n); |