From e445e5bb930ebb493149bab8b5bb4c6c98c6e693 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Sat, 28 Dec 2024 15:14:47 +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 22a39b5..72cbda9 100644 --- a/Angle.h +++ b/Angle.h @@ -28,7 +28,6 @@ public: // const static AngleOf deg90; // const static AngleOf deg180; - constexpr static auto Deg = Degrees; /// @brief Creates an angle in degrees /// @param degrees the angle in degrees /// @return The angle value @@ -37,6 +36,7 @@ public: /// @brief Creates an angle in radians /// @param radians the angle in radians /// @return The angle value + constexpr static auto Deg = &Degrees; static AngleOf Radians(float radians); /// @brief Short-hand Rad alias for the Radians function // constexpr static auto Rad = Radians;