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 1/2] 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 From 0b94931dc66676ca541d6f5bf4d8443cb198476a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 30 Oct 2013 15:31:14 +0100 Subject: [PATCH 2/2] Math: forgot to add test case to the list. --- src/Math/Test/Vector3Test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Math/Test/Vector3Test.cpp b/src/Math/Test/Vector3Test.cpp index 6af45f4a5..1ad831a5b 100644 --- a/src/Math/Test/Vector3Test.cpp +++ b/src/Math/Test/Vector3Test.cpp @@ -94,6 +94,7 @@ Vector3Test::Vector3Test() { &Vector3Test::scales, &Vector3Test::twoComponent, + &Vector3Test::swizzleType, &Vector3Test::debug, &Vector3Test::configuration}); }