aboutsummaryrefslogtreecommitdiff
path: root/src/commands/move_cursor.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-04-24 17:13:52 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:58 +0200
commitdb6edcd473a684420e9a7611b24462df21165c1b (patch)
tree9646bdb4f5f6e339a0a01873b44e0b185476ce56 /src/commands/move_cursor.cpp
parentb36d072ad7a7b9c6e30fcb25d6bbb001a8393468 (diff)
style: improve function and brace styling
Diffstat (limited to 'src/commands/move_cursor.cpp')
-rw-r--r--src/commands/move_cursor.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/commands/move_cursor.cpp b/src/commands/move_cursor.cpp
index 1d2b4e8..fe2f05f 100644
--- a/src/commands/move_cursor.cpp
+++ b/src/commands/move_cursor.cpp
@@ -1,8 +1,10 @@
#include "move_cursor.hpp"
MoveCursorCommand::MoveCursorCommand(
- const Vector2 &direction, const std::shared_ptr<ICursorController> &cursor_controller,
- const std::shared_ptr<IWindow> &window) noexcept
+ const Vector2 &direction,
+ const std::shared_ptr<ICursorController> &cursor_controller,
+ const std::shared_ptr<IWindow> &window
+) noexcept
: _direction(direction), _cursor_controller(cursor_controller), _window(window)
{