summaryrefslogtreecommitdiffhomepage
path: root/src/timer-ns.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-01 18:03:28 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-01 18:03:28 +0100
commit4eea7f267335e91cd85749b6c273511a0a0788d6 (patch)
tree87abef617874eba47a7bd691312b6a17f8101e9e /src/timer-ns.cpp
parent052270b2cbba325076cd5ff57b04c2df5eec2307 (diff)
a
Diffstat (limited to 'src/timer-ns.cpp')
-rw-r--r--src/timer-ns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer-ns.cpp b/src/timer-ns.cpp
index 80bd29df..2b4bfd09 100644
--- a/src/timer-ns.cpp
+++ b/src/timer-ns.cpp
@@ -29,7 +29,7 @@ Ns operator+(const Ns& lhs, const Ns& rhs)
{
constexpr auto max = (uint64_t)-1;
auto a = lhs.stamp, b = rhs.stamp;
- fm_assert(max - a <= b);
+ fm_assert(max - a >= b);
return Ns{a + b};
}