diff --git a/src/event/CoarseTimerEvent.hxx b/src/event/CoarseTimerEvent.hxx index c7915b3eb..200f0ed02 100644 --- a/src/event/CoarseTimerEvent.hxx +++ b/src/event/CoarseTimerEvent.hxx @@ -51,6 +51,9 @@ public: return due; } + /** + * Was this timer scheduled? + */ bool IsPending() const noexcept { return is_linked(); } diff --git a/src/event/FineTimerEvent.hxx b/src/event/FineTimerEvent.hxx index f3fbe091b..bd30c6cb5 100644 --- a/src/event/FineTimerEvent.hxx +++ b/src/event/FineTimerEvent.hxx @@ -62,6 +62,9 @@ public: return due; } + /** + * Was this timer scheduled? + */ bool IsPending() const noexcept { return is_linked(); }