From 0af5ff8d1970f5e8b3f0f4398217296f8dab19ce Mon Sep 17 00:00:00 2001 From: Abhay D Date: Thu, 28 Sep 2023 17:08:40 -0700 Subject: [PATCH] Format code --- src/utils/core.h | 3 ++- src/utils/scheduler.h | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/utils/core.h b/src/utils/core.h index 47093146c..1840a36bb 100644 --- a/src/utils/core.h +++ b/src/utils/core.h @@ -73,7 +73,8 @@ frozen::string freezeStr(const std::string& str); * @param pair The pair to convert to a tuple. * @return std::tuple The converted tuple. */ -template std::tuple pairToTuple(const std::pair& pair) { +template +std::tuple pairToTuple(const std::pair& pair) { return std::tuple(pair.first, pair.second); } diff --git a/src/utils/scheduler.h b/src/utils/scheduler.h index f967fa9ce..ab9d25a57 100644 --- a/src/utils/scheduler.h +++ b/src/utils/scheduler.h @@ -17,7 +17,8 @@ class Notifiable { virtual void notify() = 0; }; -template void notifyScheduler(T& scheduler); +template +void notifyScheduler(T& scheduler); } // namespace impl /** @@ -280,7 +281,8 @@ namespace impl { * * @warning Client code should NOT use this. */ -template void notifyScheduler(T& scheduler) { +template +void notifyScheduler(T& scheduler) { Notifiable& n = scheduler; n.notify(); }