fix: compilation error with Clang 21 (#6519)
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
- Dev: Merged emote element flags from different providers into two. (#6511)
|
- Dev: Merged emote element flags from different providers into two. (#6511)
|
||||||
- Dev: Removed unused method in `Emojis`. (#6517)
|
- Dev: Removed unused method in `Emojis`. (#6517)
|
||||||
- Dev: Refactored `Emotes` into `EmoteController`. (#6516)
|
- Dev: Refactored `Emotes` into `EmoteController`. (#6516)
|
||||||
|
- Def: Fixed compilation error in tests with Clang 21. (#6519)
|
||||||
|
|
||||||
## 2.5.4
|
## 2.5.4
|
||||||
|
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ TEST(QMagicEnum, open)
|
|||||||
static_assert(checkConst(OpenOne, u"OpenOne"));
|
static_assert(checkConst(OpenOne, u"OpenOne"));
|
||||||
static_assert(checkConst(OpenTwo, u"OpenTwo"));
|
static_assert(checkConst(OpenTwo, u"OpenTwo"));
|
||||||
static_assert(checkConst(OpenThree, u"OpenThree"));
|
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"}));
|
static_assert(checkValues<MyOpen>({u"OpenOne", u"OpenTwo", u"OpenThree"}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user