From fa11110bff6288f63e0c487e2e4b4079fb0f4569 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 8 Dec 2020 16:49:33 +0100 Subject: util: Allow use of C++14 chrono literals --- src/util/time.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/util') 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 #include #include -#include + +using namespace std::chrono_literals; void UninterruptibleSleep(const std::chrono::microseconds& n); -- cgit v1.2.3