From 5026ce2c532831635b47e402f90d69cb6ba88ce6 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Fri, 22 Aug 2014 11:01:01 +0200 Subject: [PATCH] Bugfix in operator!= --- src/vector.inl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/vector.inl b/src/vector.inl index 446af1f..e984823 100644 --- a/src/vector.inl +++ b/src/vector.inl @@ -231,11 +231,7 @@ namespace cloonel { } template inline bool operator!= (const Vector& parA, const Vector& parB) { - bool retVal = true; - for (uint32_t z = 0; z < S; ++z) { - retVal &= static_cast(parA[z] != parB[z]); - } - return retVal; + return not operator==(parA, parB); } template