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/engine/graphics/scene.hpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/engine/graphics/scene.hpp') diff --git a/src/engine/graphics/scene.hpp b/src/engine/graphics/scene.hpp index 3dcaa2d..aaf0095 100644 --- a/src/engine/graphics/scene.hpp +++ b/src/engine/graphics/scene.hpp @@ -15,16 +15,18 @@ constexpr fmt::string_view DISABLE_ALT_BUFFER = "{esc}[?1049l"; class Scene : public IScene { public: - explicit Scene(IMatrixFactory matrix_factory, - std::shared_ptr cursor_controller, - std::shared_ptr window) noexcept; + explicit Scene( + IMatrixFactory matrix_factory, + std::shared_ptr cursor_controller, + std::shared_ptr window + ) noexcept; void enter() noexcept override; void leave() noexcept override; - [[nodiscard]] auto - get_matrix() const noexcept -> const std::shared_ptr> & override; + [[nodiscard]] auto get_matrix() const noexcept + -> const std::shared_ptr> & override; private: bool _is_shown; -- cgit v1.2.3-18-g5258