diff --git a/src/Math/Vector.h b/src/Math/Vector.h index 9e333dfdc..8d07e9ab5 100644 --- a/src/Math/Vector.h +++ b/src/Math/Vector.h @@ -166,7 +166,7 @@ template class Vector { template::from(std::declval()))> inline constexpr explicit Vector(const U& other): Vector(Implementation::VectorConverter::from(other)) {} #else template::from(std::declval()))> inline explicit Vector(const U& other) { - *this = Vector(Implementation::VectorConverter::from(other)); + *this = Implementation::VectorConverter::from(other); } #endif diff --git a/src/Test/ResourceManagerTest.cpp b/src/Test/ResourceManagerTest.cpp index ac3a89747..0b964d68a 100644 --- a/src/Test/ResourceManagerTest.cpp +++ b/src/Test/ResourceManagerTest.cpp @@ -59,7 +59,7 @@ typedef Magnum::ResourceManager ResourceManager; class IntResourceLoader: public AbstractResourceLoader { public: void load(ResourceKey key) override { - AbstractResourceLoader::load(key); + AbstractResourceLoader::load(key); } void load() {