Fix the timeout test, now that we don't wait 1ms too much everytime
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user