From 006dbf417a9cfd79135e8315606c6b5c9d14022b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 27 Feb 2013 23:41:05 +0100 Subject: [PATCH] Platform: using new type aliases in whole Platform namespace. --- src/Platform/NaClApplication.h | 4 ++-- src/Platform/Sdl2Application.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Platform/NaClApplication.h b/src/Platform/NaClApplication.h index 874499f56..050e93164 100644 --- a/src/Platform/NaClApplication.h +++ b/src/Platform/NaClApplication.h @@ -176,7 +176,7 @@ class NaClApplication: public pp::Instance, public pp::Graphics3DClient, public /*@}*/ private: - enum class Flag: std::uint8_t { + enum class Flag: UnsignedByte { ViewportUpdated = 1 << 0, SwapInProgress = 1 << 1, Redraw = 1 << 2, @@ -184,7 +184,7 @@ class NaClApplication: public pp::Instance, public pp::Graphics3DClient, public WillBeFullscreen = 1 << 4, MouseLocked = 1 << 5 }; - typedef Corrade::Containers::EnumSet Flags; + typedef Corrade::Containers::EnumSet Flags; inline void Graphics3DContextLost() override { CORRADE_ASSERT(false, "NaClApplication: context unexpectedly lost", ); diff --git a/src/Platform/Sdl2Application.h b/src/Platform/Sdl2Application.h index 59f11c881..ec1b85058 100644 --- a/src/Platform/Sdl2Application.h +++ b/src/Platform/Sdl2Application.h @@ -152,12 +152,12 @@ class Sdl2Application { /*@}*/ private: - enum class Flag: std::uint8_t { + enum class Flag: UnsignedByte { Redraw = 1 << 0, Exit = 1 << 1 }; - typedef Corrade::Containers::EnumSet Flags; + typedef Corrade::Containers::EnumSet Flags; CORRADE_ENUMSET_FRIEND_OPERATORS(Flags) SDL_Window* window;