fix: compilation error with Clang 21 (#6519)

This commit is contained in:
nerix
2025-10-05 12:00:51 +02:00
committed by GitHub
parent 3f68170a49
commit 486aa238de
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ TEST(QMagicEnum, open)
static_assert(checkConst(OpenOne, u"OpenOne"));
static_assert(checkConst(OpenTwo, u"OpenTwo"));
static_assert(checkConst(OpenThree, u"OpenThree"));
static_assert(eq(enumName(static_cast<MyOpen>(16)), u""));
static_assert(eq(enumName(static_cast<MyOpen>(10)), u""));
static_assert(checkValues<MyOpen>({u"OpenOne", u"OpenTwo", u"OpenThree"}));
}