diff --git a/include/ircd/date.h b/include/ircd/date.h index 5c8a08ec5..2ef93412c 100644 --- a/include/ircd/date.h +++ b/include/ircd/date.h @@ -25,6 +25,7 @@ namespace ircd { + using std::chrono::hours; using std::chrono::seconds; using std::chrono::milliseconds; using std::chrono::microseconds; diff --git a/include/ircd/stringops.h b/include/ircd/stringops.h index 9836e0467..487d7a741 100644 --- a/include/ircd/stringops.h +++ b/include/ircd/stringops.h @@ -51,11 +51,11 @@ namespace ircd string_view strip(const string_view &str, const char &c = ' '); string_view strip(const string_view &str, const string_view &c); - // split view on first match of delim; delim not included; no delim .second empty + // split view on first match of delim; delim not included; if no delim then .second empty std::pair split(const string_view &str, const char &delim = ' '); std::pair split(const string_view &str, const string_view &delim); - // split view on last match of delim; delim not included; no delim .second empty + // split view on last match of delim; delim not included; if no delim then .second empty std::pair rsplit(const string_view &str, const char &delim = ' '); std::pair rsplit(const string_view &str, const string_view &delim);