From 1cb04af1df17f15c70cfc5f21df257687d291208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cle=CC=81ment=20Foucault?= Date: Tue, 31 Jan 2023 15:36:24 +0100 Subject: [PATCH] BLI: Fix missing const correctness This fix incorrect rBa837604d44a0 commit --- source/blender/blenlib/BLI_math_vector_types.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/blenlib/BLI_math_vector_types.hh b/source/blender/blenlib/BLI_math_vector_types.hh index 0b4e20fb435..89f866a5172 100644 --- a/source/blender/blenlib/BLI_math_vector_types.hh +++ b/source/blender/blenlib/BLI_math_vector_types.hh @@ -178,12 +178,12 @@ template struct VecBase : public vec_struct_base template= 3)> VecBase xy() const { - return *reinterpret_cast *>(this); + return *reinterpret_cast *>(this); } template= 4)> VecBase xyz() const { - return *reinterpret_cast *>(this); + return *reinterpret_cast *>(this); } #undef BLI_ENABLE_IF_VEC