From 2fca72996b588d8c61a968abc1ae18e29eaeaa6f Mon Sep 17 00:00:00 2001 From: Varun Sethu Date: Mon, 26 Aug 2024 21:12:30 +1000 Subject: [PATCH] format --- src/timing/include/timing/timing_poll_source.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/timing/include/timing/timing_poll_source.h b/src/timing/include/timing/timing_poll_source.h index 39576fd..7663f00 100644 --- a/src/timing/include/timing/timing_poll_source.h +++ b/src/timing/include/timing/timing_poll_source.h @@ -7,15 +7,16 @@ namespace Timing { class PollSource : public Scheduler::IPollSource { - public: - PollSource(); + public: + PollSource(); - auto schedule(std::chrono::milliseconds expiry, Scheduler::Job task) -> void; - auto poll_frequency() -> std::chrono::milliseconds override; - auto poll() -> std::vector override; + [[nodiscard]] auto poll_frequency() -> std::chrono::milliseconds override; + [[nodiscard]] auto poll() -> std::vector override; - private: - SpinLock spinlock; - HierarchicalTimingWheel wheel; + auto schedule(std::chrono::milliseconds expiry, Scheduler::Job task) -> void; + + private: + SpinLock spinlock; + HierarchicalTimingWheel wheel; }; } \ No newline at end of file