diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-01 17:54:32 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-01 17:54:32 +0100 |
commit | 052270b2cbba325076cd5ff57b04c2df5eec2307 (patch) | |
tree | f47a587880e795801abc2e285c683b42bdcae6c9 /src/timer.hpp | |
parent | 10e22ed4fb0bd21d9d268c5c6f1ac1c7d9e4b621 (diff) |
a
Diffstat (limited to 'src/timer.hpp')
-rw-r--r-- | src/timer.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timer.hpp b/src/timer.hpp index 43637b36..8eef447e 100644 --- a/src/timer.hpp +++ b/src/timer.hpp @@ -29,6 +29,8 @@ struct Ns friend bool operator==(const Ns& lhs, const Ns& rhs); friend std::strong_ordering operator<=>(const Ns& lhs, const Ns& rhs); + + friend Debug& operator<<(Debug& dbg, const Ns& box); }; struct Time final @@ -48,8 +50,6 @@ private: static uint64_t init() noexcept; }; -Debug& operator<<(Debug& dbg, Ns box); - constexpr inline size_t fm_DATETIME_BUF_SIZE = 32; const char* format_datetime_to_string(char(&buf)[fm_DATETIME_BUF_SIZE]); |