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 | 564713fb46512acaebe0f2e9d239f17eb8098c88 (patch) | |
| tree | 26d21b113d85c6630f3ff67f7affc7c1b6f508a5 /src/core/host_timing.cpp | |
| parent | 4e9a9e584ca93d9a197f84cabc5965cabf2ede15 (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 c734a118e4..be80d9f8ed 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()); } |
