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
View File
@@ -18,6 +18,7 @@
- Dev: Merged emote element flags from different providers into two. (#6511)
- Dev: Removed unused method in `Emojis`. (#6517)
- Dev: Refactored `Emotes` into `EmoteController`. (#6516)
- Def: Fixed compilation error in tests with Clang 21. (#6519)
## 2.5.4
+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"}));
}