Made conversion Vector -> Sizef explicit, just to be on the safe side
authorIngo Ruhnke <grumbel@gmail.com>
Sun, 17 Aug 2014 01:45:44 +0000 (03:45 +0200)
committerIngo Ruhnke <grumbel@gmail.com>
Sun, 17 Aug 2014 01:45:44 +0000 (03:45 +0200)
src/math/sizef.hpp

index 893d0d4..02866d4 100644 (file)
@@ -31,7 +31,7 @@ public:
     height(0.0f)
   {}
 
-  Sizef(const Vector& v) :
+  explicit Sizef(const Vector& v) :
     width(v.x),
     height(v.y)
   {}