From d4ff27caadaa1ed454f069a6bd249534504c853b Mon Sep 17 00:00:00 2001 From: Jonny Paton Date: Fri, 3 Jan 2025 15:21:21 +0000 Subject: [PATCH] Make pi/tau variables inline --- include/SFML/System/Angle.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SFML/System/Angle.inl b/include/SFML/System/Angle.inl index 867cf2203..aaa779db0 100644 --- a/include/SFML/System/Angle.inl +++ b/include/SFML/System/Angle.inl @@ -34,8 +34,8 @@ namespace sf { namespace priv { -constexpr float pi = 3.141592654f; -constexpr float tau = pi * 2.f; +inline constexpr float pi = 3.141592654f; +inline constexpr float tau = pi * 2.f; constexpr float positiveRemainder(float a, float b) {