diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-14 18:02:18 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:56 +0200 |
commit | dc6222611ad14a33f642396558ba84ecba9d6605 (patch) | |
tree | d759020233b66be62c5539209a03842d283b67a9 /src/engine/user/cursor.hpp | |
parent | dbab54ebf134b6ab2cf719d7c26a191fbffeed34 (diff) |
perf: add noexcept almost everywhere
Diffstat (limited to 'src/engine/user/cursor.hpp')
-rw-r--r-- | src/engine/user/cursor.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/user/cursor.hpp b/src/engine/user/cursor.hpp index c591235..713ee31 100644 --- a/src/engine/user/cursor.hpp +++ b/src/engine/user/cursor.hpp @@ -33,7 +33,7 @@ class CursorController : public ICursorController, public AutoWirable<ICursorController, CursorController> { public: - CursorController(); + CursorController() noexcept; void move(const Vector2 &direction, const uint32_t &amount) noexcept override; @@ -43,9 +43,9 @@ public: void ensure_position() noexcept override; - static void hide(); + static void hide() noexcept; - static void show(); + static void show() noexcept; private: Vector2 _position; |