From 4011338e2911f70c426f3981b2afb18e0ebfcead Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 3 Mar 2024 09:37:17 +0100 Subject: c --- src/timer-ns.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/timer-ns.cpp') diff --git a/src/timer-ns.cpp b/src/timer-ns.cpp index 5bc302ff..2fd83968 100644 --- a/src/timer-ns.cpp +++ b/src/timer-ns.cpp @@ -8,7 +8,6 @@ namespace floormat { namespace { -#if 0 constexpr auto MAX = (uint64_t)-1, HALF = MAX/2; static_assert(MAX - (MAX-0) <= 0); @@ -22,8 +21,6 @@ static_assert(MAX - HALF <= HALF+1); //static_assert(MAX - (MAX-2) <= 1); // must fail //static_assert(MAX - HALF <= HALF); // must fail -#endif - } // namespace Debug& operator<<(Debug& dbg, const Ns& box) -- cgit v1.2.3