Skip to content

Commit

Permalink
fix timer list empty bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wqx6 committed Dec 8, 2021
1 parent b9d8ef1 commit 011a8a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system/SystemTimer.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class TimerList
/**
* Test whether there are any timers.
*/
bool Empty() const { return mEarliestTimer != nullptr; }
bool Empty() const { return mEarliestTimer == nullptr; }

/**
* Remove and return all timers that expire before the given time @a t.
Expand Down

0 comments on commit 011a8a7

Please sign in to comment.