From c5eaa1894291fd5ef3b79fd2a2623a8eb37cd144 Mon Sep 17 00:00:00 2001 From: 1neskk Date: Mon, 24 Mar 2025 15:41:49 -0300 Subject: [PATCH] Add GLM_FUNC_QUALIFIER to TMin and TMax operator overloads --- glm/detail/func_common.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/detail/func_common.inl b/glm/detail/func_common.inl index f0397d4e..41f762a4 100644 --- a/glm/detail/func_common.inl +++ b/glm/detail/func_common.inl @@ -22,7 +22,7 @@ namespace glm template struct TMin { - T operator()(const T& a, const T& b) { return min(a, b); } + GLM_FUNC_QUALIFIER T operator()(const T& a, const T& b) { return min(a, b); } }; // max @@ -36,7 +36,7 @@ namespace glm template struct TMax { - T operator()(const T& a, const T& b) { return max(a, b); } + GLM_FUNC_QUALIFIER T operator()(const T& a, const T& b) { return max(a, b); } }; // abs