summaryrefslogtreecommitdiffhomepage
path: root/src/timer.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-01 17:54:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-01 17:54:32 +0100
commit052270b2cbba325076cd5ff57b04c2df5eec2307 (patch)
treef47a587880e795801abc2e285c683b42bdcae6c9 /src/timer.hpp
parent10e22ed4fb0bd21d9d268c5c6f1ac1c7d9e4b621 (diff)
a
Diffstat (limited to 'src/timer.hpp')
-rw-r--r--src/timer.hpp4
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]);