From: Ingo Ruhnke Date: Sun, 17 Aug 2014 01:45:44 +0000 (+0200) Subject: Made conversion Vector -> Sizef explicit, just to be on the safe side X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=2c14c02b8a8f6fe3f6c96f9a4462370ddd39696e;p=supertux.git Made conversion Vector -> Sizef explicit, just to be on the safe side --- 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) {}