summaryrefslogtreecommitdiffhomepage
path: root/src/timer-ns.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-03 09:37:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-04 06:58:10 +0100
commit4011338e2911f70c426f3981b2afb18e0ebfcead (patch)
tree6588a4d608757e88b8bb60b1484c48322f282712 /src/timer-ns.cpp
parent89d90859bd9a6788528ca2b6dec342d22ccfb925 (diff)
c
Diffstat (limited to 'src/timer-ns.cpp')
-rw-r--r--src/timer-ns.cpp3
1 files changed, 0 insertions, 3 deletions
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)