diff options
author | louiz’ <louiz@louiz.org> | 2016-07-28 10:47:44 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-07-28 10:47:44 +0200 |
commit | 0d1e0629e7efe07bacce6a22e45ddfd7652eb505 (patch) | |
tree | 0da3280b7f5ada568211e78fc305e850d5a6684e /louloulibs/utils | |
parent | 5c78692fcd447d94be1eb43338f79790f53051f6 (diff) | |
download | biboumi-0d1e0629e7efe07bacce6a22e45ddfd7652eb505.tar.gz biboumi-0d1e0629e7efe07bacce6a22e45ddfd7652eb505.tar.bz2 biboumi-0d1e0629e7efe07bacce6a22e45ddfd7652eb505.tar.xz biboumi-0d1e0629e7efe07bacce6a22e45ddfd7652eb505.zip |
Fix the timeout test, now that we don't wait 1ms too much everytime
Diffstat (limited to 'louloulibs/utils')
-rw-r--r-- | louloulibs/utils/timed_events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/louloulibs/utils/timed_events.cpp b/louloulibs/utils/timed_events.cpp index 6b936c4..68d009c 100644 --- a/louloulibs/utils/timed_events.cpp +++ b/louloulibs/utils/timed_events.cpp @@ -27,7 +27,7 @@ bool TimedEvent::is_after(const TimedEvent& other) const bool TimedEvent::is_after(const std::chrono::steady_clock::time_point& time_point) const { - return this->time_point >= time_point; + return this->time_point > time_point; } std::chrono::milliseconds TimedEvent::get_timeout() const |