diff --git a/src/Magnum/Math/Vector.h b/src/Magnum/Math/Vector.h index 8e00bd8cc..a7febf529 100644 --- a/src/Magnum/Math/Vector.h +++ b/src/Magnum/Math/Vector.h @@ -735,9 +735,9 @@ template class Vector { #else template typename std::enable_if::value, Vector&>::type #endif - operator%=(T other) { + operator%=(T scalar) { for(std::size_t i = 0; i != size; ++i) - _data[i] %= other; + _data[i] %= scalar; return *this; }