From 019337908e37ffee9b624b313e9d7f885bff9781 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 15 May 2022 19:57:02 +0200 Subject: style: change braced list & bracket style --- src/commands/insert_cell.cpp | 3 +-- src/commands/insert_cell.hpp | 3 +-- src/commands/move_cursor.cpp | 3 +-- src/commands/move_cursor.hpp | 3 +-- src/commands/toggle_pause.cpp | 3 +-- src/commands/toggle_pause.hpp | 3 +-- 6 files changed, 6 insertions(+), 12 deletions(-) (limited to 'src/commands') diff --git a/src/commands/insert_cell.cpp b/src/commands/insert_cell.cpp index 3aa0fc8..86a5a52 100644 --- a/src/commands/insert_cell.cpp +++ b/src/commands/insert_cell.cpp @@ -4,8 +4,7 @@ InsertCellCommand::InsertCellCommand( const std::shared_ptr &cursor_controller, - const std::shared_ptr &scene -) noexcept + const std::shared_ptr &scene) noexcept : _cursor_controller(cursor_controller), _scene(scene) { } diff --git a/src/commands/insert_cell.hpp b/src/commands/insert_cell.hpp index 7518ece..9d54736 100644 --- a/src/commands/insert_cell.hpp +++ b/src/commands/insert_cell.hpp @@ -11,8 +11,7 @@ class InsertCellCommand : public ICommand public: InsertCellCommand( const std::shared_ptr &cursor_controller, - const std::shared_ptr &scene - ) noexcept; + const std::shared_ptr &scene) noexcept; void execute() noexcept override; diff --git a/src/commands/move_cursor.cpp b/src/commands/move_cursor.cpp index fe2f05f..12a247d 100644 --- a/src/commands/move_cursor.cpp +++ b/src/commands/move_cursor.cpp @@ -3,8 +3,7 @@ MoveCursorCommand::MoveCursorCommand( const Vector2 &direction, const std::shared_ptr &cursor_controller, - const std::shared_ptr &window -) noexcept + const std::shared_ptr &window) noexcept : _direction(direction), _cursor_controller(cursor_controller), _window(window) { diff --git a/src/commands/move_cursor.hpp b/src/commands/move_cursor.hpp index 88d9c42..aab228c 100644 --- a/src/commands/move_cursor.hpp +++ b/src/commands/move_cursor.hpp @@ -14,8 +14,7 @@ public: MoveCursorCommand( const Vector2 &direction, const std::shared_ptr &cursor_controller, - const std::shared_ptr &window - ) noexcept; + const std::shared_ptr &window) noexcept; void execute() noexcept override; diff --git a/src/commands/toggle_pause.cpp b/src/commands/toggle_pause.cpp index 54682c6..852e093 100644 --- a/src/commands/toggle_pause.cpp +++ b/src/commands/toggle_pause.cpp @@ -5,8 +5,7 @@ TogglePauseCommand::TogglePauseCommand( std::shared_ptr generation_tracker, - std::shared_ptr status_manager -) noexcept + std::shared_ptr status_manager) noexcept : _generation_tracker(std::move(generation_tracker)), _status_manager(std::move(status_manager)) { diff --git a/src/commands/toggle_pause.hpp b/src/commands/toggle_pause.hpp index 43502f8..41427cc 100644 --- a/src/commands/toggle_pause.hpp +++ b/src/commands/toggle_pause.hpp @@ -11,8 +11,7 @@ class TogglePauseCommand : public ICommand public: explicit TogglePauseCommand( std::shared_ptr generation_tracker, - std::shared_ptr status_manager - ) noexcept; + std::shared_ptr status_manager) noexcept; void execute() noexcept override; -- cgit v1.2.3-18-g5258