From dd788285dc731db56ecec1ee5041d1d13c4bf05d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 17 Mar 2013 22:21:42 +0100 Subject: [PATCH] Various code cleanup. --- src/Math/Vector.h | 2 +- src/Test/ResourceManagerTest.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() {