From 304819435dec9be611b42072531cc5d130139fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 19 Oct 2021 16:49:17 +0200 Subject: [PATCH] Math: no need to use a in this test. --- src/Magnum/Math/Test/TypeTraitsTest.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Magnum/Math/Test/TypeTraitsTest.cpp b/src/Magnum/Math/Test/TypeTraitsTest.cpp index e9cab72e9..bda1693e8 100644 --- a/src/Magnum/Math/Test/TypeTraitsTest.cpp +++ b/src/Magnum/Math/Test/TypeTraitsTest.cpp @@ -23,9 +23,9 @@ DEALINGS IN THE SOFTWARE. */ -#include +#include +#include #include -#include #include "Magnum/Math/Half.h" #include "Magnum/Math/Math.h" @@ -161,8 +161,9 @@ TypeTraitsTest::TypeTraitsTest() { } void TypeTraitsTest::name() { - CORRADE_COMPARE(TypeTraits::name(), std::string{"UnsignedShort"}); - CORRADE_COMPARE(TypeTraits::name(), std::string{"Float"}); + using namespace Corrade::Containers::Literals; + CORRADE_COMPARE(TypeTraits::name(), "UnsignedShort"_s); + CORRADE_COMPARE(TypeTraits::name(), "Float"_s); } void TypeTraitsTest::isScalar() {