From 2c14c02b8a8f6fe3f6c96f9a4462370ddd39696e Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Sun, 17 Aug 2014 03:45:44 +0200 Subject: [PATCH] Made conversion Vector -> Sizef explicit, just to be on the safe side --- src/math/sizef.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math/sizef.hpp b/src/math/sizef.hpp index 893d0d4ea..02866d40f 100644 --- a/src/math/sizef.hpp +++ b/src/math/sizef.hpp @@ -31,7 +31,7 @@ public: height(0.0f) {} - Sizef(const Vector& v) : + explicit Sizef(const Vector& v) : width(v.x), height(v.y) {} -- 2.11.0