From db6edcd473a684420e9a7611b24462df21165c1b Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 24 Apr 2022 17:13:52 +0200 Subject: style: improve function and brace styling --- src/interfaces/publisher.hpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/interfaces/publisher.hpp') diff --git a/src/interfaces/publisher.hpp b/src/interfaces/publisher.hpp index ef1e61c..4e66d64 100644 --- a/src/interfaces/publisher.hpp +++ b/src/interfaces/publisher.hpp @@ -12,10 +12,11 @@ class IPublisher public: virtual ~IPublisher() noexcept = default; - virtual void - subscribe(const Event &event, - const std::shared_ptr> &subscriber) noexcept = 0; + virtual void subscribe( + const Event &event, + const std::shared_ptr> &subscriber + ) noexcept = 0; - virtual void notify_subscribers(const Event &event, - const Context &context) const noexcept = 0; + virtual void + notify_subscribers(const Event &event, const Context &context) const noexcept = 0; }; -- cgit v1.2.3-18-g5258