summaryrefslogtreecommitdiffhomepage
path: root/src/timer.hpp
diff options
context:
space:
mode:
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]);