From 6b0e2a25cf1e98d3f11d4e6c0305dd327048bbb8 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 27 Jun 2022 22:08:43 +0200 Subject: refactor: use int types from std namespace --- src/engine/user/cursor.cpp | 2 +- src/engine/user/cursor.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/engine/user') 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; -- cgit v1.2.3-18-g5258