From d212db27832648be7937b559685279912d5b2b08 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens <pascal@passervr.com> Date: Sat, 28 Dec 2024 15:19:42 +0100 Subject: [PATCH] Trying to fix specialization before instantiation error --- Angle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Angle.h b/Angle.h index 72cbda9..d066d4a 100644 --- a/Angle.h +++ b/Angle.h @@ -36,7 +36,7 @@ public: /// @brief Creates an angle in radians /// @param radians the angle in radians /// @return The angle value - constexpr static auto Deg = &Degrees<T>; + constexpr static AngleOf<T> (*Deg)(float degrees) = &Degrees; static AngleOf<T> Radians(float radians); /// @brief Short-hand Rad alias for the Radians function // constexpr static auto Rad = Radians;