aboutsummaryrefslogtreecommitdiff
path: root/src/engine/user
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-27 22:08:43 +0200
committerHampusM <hampus@hampusmat.com>2022-06-27 22:08:43 +0200
commit6b0e2a25cf1e98d3f11d4e6c0305dd327048bbb8 (patch)
treea62c23f4e66949fe109e07dec95ad3a3e5229a7c /src/engine/user
parent9d0fe1b42c9f6a5c09bab444966d347a71a4b905 (diff)
refactor: use int types from std namespace
Diffstat (limited to 'src/engine/user')
-rw-r--r--src/engine/user/cursor.cpp2
-rw-r--r--src/engine/user/cursor.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/user/cursor.cpp b/src/engine/user/cursor.cpp
index e3ad56c..a372ca7 100644
--- a/src/engine/user/cursor.cpp
+++ b/src/engine/user/cursor.cpp
@@ -12,7 +12,7 @@ CursorController::CursorController() noexcept
void CursorController::move(
const Vector2 &direction,
- const uint32_t &amount,
+ const std::uint32_t &amount,
bool flush_cout) noexcept
{
auto direction_format = direction_format_map.at(direction);
diff --git a/src/engine/user/cursor.hpp b/src/engine/user/cursor.hpp
index 8f352ef..06c6b88 100644
--- a/src/engine/user/cursor.hpp
+++ b/src/engine/user/cursor.hpp
@@ -39,7 +39,7 @@ class CursorController : public ICursorController,
public:
CursorController() noexcept;
- void move(const Vector2 &direction, const uint32_t &amount, bool flush_cout) noexcept
+ void move(const Vector2 &direction, const std::uint32_t &amount, bool flush_cout) noexcept
override;
void move_to(const Vector2 &position, bool flush_cout) noexcept override;