0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +01:00

ircd: Add missing using std::chrono::duration in stdinc main imports.

This commit is contained in:
Jason Volk 2018-10-21 00:54:06 -07:00
parent 66a936233a
commit 50acb06dcf
2 changed files with 1 additions and 1 deletions

View file

@ -16,7 +16,6 @@ namespace ircd
using microtime_t = std::pair<time_t, int32_t>; using microtime_t = std::pair<time_t, int32_t>;
using steady_point = time_point<steady_clock>; using steady_point = time_point<steady_clock>;
using system_point = time_point<system_clock>; using system_point = time_point<system_clock>;
template<class rep, class period> using duration = std::chrono::duration<rep, period>;
// Standard time_point samples // Standard time_point samples
template<class unit = seconds> unit now(); template<class unit = seconds> unit now();

View file

@ -172,6 +172,7 @@ namespace ircd
using std::chrono::milliseconds; using std::chrono::milliseconds;
using std::chrono::microseconds; using std::chrono::microseconds;
using std::chrono::nanoseconds; using std::chrono::nanoseconds;
using std::chrono::duration;
using std::chrono::duration_cast; using std::chrono::duration_cast;
using std::chrono::system_clock; using std::chrono::system_clock;
using std::chrono::steady_clock; using std::chrono::steady_clock;