util: Allow use of C++14 chrono literals

This commit is contained in:
MarcoFalke
2020-12-08 16:49:33 +01:00
parent 16b31cc4c5
commit fa11110bff
4 changed files with 7 additions and 5 deletions

View File

@@ -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);