From bfe76195ef5bf3562952a362bd1ebd011f1a328b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 12 Feb 2024 16:03:30 +0100 Subject: [PATCH] Math: rename Vector function argument for consistency. It's always `scalar` for scalars and `other` for vectors. --- src/Magnum/Math/Vector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }