From 380ef7013deb76eaa41ca3f2cd265f6309e3a934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 30 Oct 2013 15:30:31 +0100 Subject: [PATCH] Platform: fixed compilation of NaClApplication. --- src/Platform/NaClApplication.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Platform/NaClApplication.h b/src/Platform/NaClApplication.h index 162c140a2..104e16e2c 100644 --- a/src/Platform/NaClApplication.h +++ b/src/Platform/NaClApplication.h @@ -439,7 +439,7 @@ class NaClApplication::InputEvent { constexpr Modifiers modifiers() const { return _modifiers; } /** @brief Mouse buttons */ - constexpr Buttons buttons() const { return Buttons(_modifiers); } + constexpr Buttons buttons() const { return Button(static_cast(_modifiers)); } /** * @brief Set event as accepted