diff --git a/src/Math/Test/Vector3Test.cpp b/src/Math/Test/Vector3Test.cpp index d34b50960..6eb9a76bb 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}); } diff --git a/src/Platform/NaClApplication.h b/src/Platform/NaClApplication.h index 914906368..b8217e0c8 100644 --- a/src/Platform/NaClApplication.h +++ b/src/Platform/NaClApplication.h @@ -443,7 +443,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