From 4d9a82b720c8ce74b94f43f72ddd819ef21abbdf Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 18 Mar 2023 23:42:07 +0100 Subject: pre-declare integer types without cstddef/cstdint --- main/main-impl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main/main-impl.cpp') diff --git a/main/main-impl.cpp b/main/main-impl.cpp index a971edcf..8cde3e2f 100644 --- a/main/main-impl.cpp +++ b/main/main-impl.cpp @@ -46,15 +46,15 @@ Vector2i floormat_main::window_size() const noexcept return _framebuffer_size; } -void main_impl::set_cursor(std::uint32_t cursor) noexcept +void main_impl::set_cursor(uint32_t cursor) noexcept { setCursor(Cursor(cursor)); } -std::uint32_t main_impl::cursor() const noexcept +uint32_t main_impl::cursor() const noexcept { using App = Platform::Sdl2Application; - return (std::uint32_t)static_cast(const_cast(this))->cursor(); + return (uint32_t)static_cast(const_cast(this))->cursor(); } } // namespace floormat -- cgit v1.2.3