From 50d1127f61f0993b11915e945e6be065958271d4 Mon Sep 17 00:00:00 2001 From: Eberhard Graether Date: Thu, 24 Apr 2014 16:16:25 +0200 Subject: [PATCH] utility: fixed clang error in Vector2 --- src/lib/utility/math/Vector2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/utility/math/Vector2.h b/src/lib/utility/math/Vector2.h index 850c0c10..ad4fad36 100644 --- a/src/lib/utility/math/Vector2.h +++ b/src/lib/utility/math/Vector2.h @@ -88,8 +88,8 @@ Vector2 Vector2::normalize() { float length = getLength(); - static_cast(x) /= length; - static_cast(y) /= length; + x /= length; + y /= length; return *this; }