diff options
author | HampusM <hampus@hampusmat.com> | 2022-05-15 19:57:02 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:59 +0200 |
commit | 019337908e37ffee9b624b313e9d7f885bff9781 (patch) | |
tree | 7f8ba5e8b12fff7723b1af2317c3fba52c0c7011 /src/commands | |
parent | 741a6008e806abb8e5aaa8f8fb91827fa97ece9d (diff) |
style: change braced list & bracket style
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/insert_cell.cpp | 3 | ||||
-rw-r--r-- | src/commands/insert_cell.hpp | 3 | ||||
-rw-r--r-- | src/commands/move_cursor.cpp | 3 | ||||
-rw-r--r-- | src/commands/move_cursor.hpp | 3 | ||||
-rw-r--r-- | src/commands/toggle_pause.cpp | 3 | ||||
-rw-r--r-- | src/commands/toggle_pause.hpp | 3 |
6 files changed, 6 insertions, 12 deletions
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<ICursorController> &cursor_controller, - const std::shared_ptr<IScene> &scene -) noexcept + const std::shared_ptr<IScene> &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<ICursorController> &cursor_controller, - const std::shared_ptr<IScene> &scene - ) noexcept; + const std::shared_ptr<IScene> &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<ICursorController> &cursor_controller, - const std::shared_ptr<IWindow> &window -) noexcept + const std::shared_ptr<IWindow> &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<ICursorController> &cursor_controller, - const std::shared_ptr<IWindow> &window - ) noexcept; + const std::shared_ptr<IWindow> &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<IGenerationTracker> generation_tracker, - std::shared_ptr<IStatusManager> status_manager -) noexcept + std::shared_ptr<IStatusManager> 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<IGenerationTracker> generation_tracker, - std::shared_ptr<IStatusManager> status_manager - ) noexcept; + std::shared_ptr<IStatusManager> status_manager) noexcept; void execute() noexcept override; |