From 0980c6521223f9f07f7594e8ee2b8f573b9ca7a7 Mon Sep 17 00:00:00 2001 From: willll <464311+willll@users.noreply.github.com> Date: Mon, 19 Jan 2026 18:59:16 -0500 Subject: [PATCH] feat(vector): add const qualifier to left shift operator for Vector3D --- impl/vector3d.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impl/vector3d.hpp b/impl/vector3d.hpp index 9256939..2460489 100644 --- a/impl/vector3d.hpp +++ b/impl/vector3d.hpp @@ -1052,7 +1052,7 @@ namespace SaturnMath::Types * @param shiftAmount The number of positions to shift. * @return The resulting Vec3 object. */ - constexpr Vector3D operator<<(const size_t& shiftAmount) + constexpr Vector3D operator<<(const size_t& shiftAmount) const { return Vector3D(X << shiftAmount, Y << shiftAmount, Z << shiftAmount); }