diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-10 14:45:08 -0400 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-18 16:29:21 -0400 |
commit | 1f7dd36499786d373b143a4437d4c32e077a32aa (patch) | |
tree | 26d21b113d85c6630f3ff67f7affc7c1b6f508a5 /src/core/host_timing.cpp | |
parent | 3398f701eeac63f3cfcf193f3e9c1ee2f06edb08 (diff) |
Common/Tests: Address Feedback
Diffstat (limited to 'src/core/host_timing.cpp')
-rw-r--r-- | src/core/host_timing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/host_timing.cpp b/src/core/host_timing.cpp index c734a118e..be80d9f8e 100644 --- a/src/core/host_timing.cpp +++ b/src/core/host_timing.cpp @@ -76,11 +76,11 @@ void CoreTiming::SyncPause(bool is_paused) { ; } -bool CoreTiming::IsRunning() { +bool CoreTiming::IsRunning() const { return !paused_set; } -bool CoreTiming::HasPendingEvents() { +bool CoreTiming::HasPendingEvents() const { return !(wait_set && event_queue.empty()); } |