Made conversion Vector -> Sizef explicit, just to be on the safe side
[supertux.git] / 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)
   {}