diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-01 18:03:28 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-01 18:03:28 +0100 |
commit | 4eea7f267335e91cd85749b6c273511a0a0788d6 (patch) | |
tree | 87abef617874eba47a7bd691312b6a17f8101e9e /src/timer-ns.cpp | |
parent | 052270b2cbba325076cd5ff57b04c2df5eec2307 (diff) |
a
Diffstat (limited to 'src/timer-ns.cpp')
-rw-r--r-- | src/timer-ns.cpp | 2 |
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}; } |