From 3145658a02dd49d30a7476ed08e5a3ecaedb0bf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 10 Feb 2024 21:19:08 +0100 Subject: [PATCH] Math: minor. --- src/Magnum/Math/Test/AngleTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Math/Test/AngleTest.cpp b/src/Magnum/Math/Test/AngleTest.cpp index 3557f735f..114223a36 100644 --- a/src/Magnum/Math/Test/AngleTest.cpp +++ b/src/Magnum/Math/Test/AngleTest.cpp @@ -298,7 +298,7 @@ void AngleTest::literals() { void AngleTest::conversion() { /* Implicit conversion should be allowed */ - constexpr Deg a = Rad(1.57079633f); + constexpr Deg a = 1.57079633_radf; CORRADE_COMPARE(Float(a), 90.0f); constexpr Rad b = 90.0_degf;