From 70643a9e4821bd11c3f363f1708fe420965467d1 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Fri, 28 Aug 2026 22:17:10 +0200 Subject: Format again --- server/src/trace.cppm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'server/src/trace.cppm') diff --git a/server/src/trace.cppm b/server/src/trace.cppm index 35d32f3..3dbed12 100644 --- a/server/src/trace.cppm +++ b/server/src/trace.cppm @@ -21,9 +21,9 @@ public: { namespace chrono = std::chrono; auto const unix_time_ms_signed = static_cast( - chrono::duration_cast( - chrono::system_clock::now().time_since_epoch()) - .count()); + chrono::duration_cast( + chrono::system_clock::now().time_since_epoch()) + .count()); if (unix_time_ms_signed < 0) throw std::runtime_error{"system time before UNIX epoch"}; auto const unix_time_ms = static_cast(unix_time_ms_signed); @@ -36,8 +36,8 @@ public: { unsigned long e = ERR_get_error(); throw std::runtime_error{std::format( - "failed to generate UUID(v7): {} ({}, code {})", - ERR_reason_error_string(e), ERR_lib_error_string(e), e)}; + "failed to generate UUID(v7): {} ({}, code {})", + ERR_reason_error_string(e), ERR_lib_error_string(e), e)}; } auto version = std::uint64_t{0b0111}; @@ -67,8 +67,8 @@ public: auto low_low = (low_ & 0x0000'ffff'ffff'ffff) >> 0; std::format_to( - target.begin(), "{:0>8x}-{:0>4x}-{:0>4x}-{:0>4x}-{:0>12x}", high_high, - high_low_high, low_low_high, high_low, low_low); + target.begin(), "{:0>8x}-{:0>4x}-{:0>4x}-{:0>4x}-{:0>12x}", high_high, + high_low_high, low_low_high, high_low, low_low); target.back() = '\0'; } }; -- cgit v1.3