aboutsummaryrefslogtreecommitdiff
path: root/src/input_actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_actions.cpp')
-rw-r--r--src/input_actions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_actions.cpp b/src/input_actions.cpp
index 7a6976d..fa41bdd 100644
--- a/src/input_actions.cpp
+++ b/src/input_actions.cpp
@@ -7,7 +7,7 @@
namespace InputActions
{
-void exit_success()
+void exit_success() noexcept
{
exit(EXIT_SUCCESS);
}
@@ -15,7 +15,7 @@ void exit_success()
Callback move_cursor(const Vector2 &direction,
const std::shared_ptr<ICursorController> &cursor_controller,
const std::shared_ptr<IScene> &scene,
- const std::shared_ptr<IWindow> &window)
+ const std::shared_ptr<IWindow> &window) noexcept
{
return [direction, cursor_controller, scene, window]()
{