From 69dfc39f30508addf363d76745315e8faaf2e9fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 16 Oct 2016 02:13:41 +0200 Subject: [PATCH] Math: don't compare const char* as pointers in test by accident. --- src/Magnum/Math/Test/TypeTraitsTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Math/Test/TypeTraitsTest.cpp b/src/Magnum/Math/Test/TypeTraitsTest.cpp index f12c40a3e..1ee4f0c21 100644 --- a/src/Magnum/Math/Test/TypeTraitsTest.cpp +++ b/src/Magnum/Math/Test/TypeTraitsTest.cpp @@ -165,8 +165,8 @@ void TypeTraitsTest::sizeOfLongDouble() { } void TypeTraitsTest::name() { - CORRADE_COMPARE(TypeTraits::name(), "UnsignedShort"); - CORRADE_COMPARE(TypeTraits::name(), "Float"); + CORRADE_COMPARE(TypeTraits::name(), std::string{"UnsignedShort"}); + CORRADE_COMPARE(TypeTraits::name(), std::string{"Float"}); } template void TypeTraitsTest::equalsIntegral() {