summaryrefslogtreecommitdiffhomepage
path: root/main/main-impl.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-18 23:42:07 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-18 23:42:07 +0100
commit4d9a82b720c8ce74b94f43f72ddd819ef21abbdf (patch)
treec0a5d21b8e19fbb60c286faec8e302e6f32b6679 /main/main-impl.cpp
parent32b8c22828315292857e2cd9909fba620f30ff70 (diff)
pre-declare integer types without cstddef/cstdint
Diffstat (limited to 'main/main-impl.cpp')
-rw-r--r--main/main-impl.cpp6
1 files changed, 3 insertions, 3 deletions
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<App*>(const_cast<main_impl*>(this))->cursor();
+ return (uint32_t)static_cast<App*>(const_cast<main_impl*>(this))->cursor();
}
} // namespace floormat