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;