Bugfix in operator!=

This commit is contained in:
King_DuckZ 2014-08-22 11:01:01 +02:00
parent c4fbdd8e16
commit 5026ce2c53

View file

@ -231,11 +231,7 @@ namespace cloonel {
}
template <typename T, typename U, uint32_t S>
inline bool operator!= (const Vector<T, S>& parA, const Vector<U, S>& parB) {
bool retVal = true;
for (uint32_t z = 0; z < S; ++z) {
retVal &= static_cast<bool>(parA[z] != parB[z]);
}
return retVal;
return not operator==(parA, parB);
}
template <typename T, uint32_t S>