Remove warning on unused variable
This commit is contained in:
parent
840fa466e8
commit
cbf38f3e44
@ -1917,6 +1917,7 @@ TEST(FormatTest, Enum) {
|
|||||||
|
|
||||||
TEST(FormatTest, EnumFormatterUnambiguous) {
|
TEST(FormatTest, EnumFormatterUnambiguous) {
|
||||||
fmt::formatter<TestEnum> f;
|
fmt::formatter<TestEnum> f;
|
||||||
|
ASSERT_GE(sizeof(f), 0); // use f to avoid compiler warning
|
||||||
}
|
}
|
||||||
|
|
||||||
#if FMT_HAS_FEATURE(cxx_strong_enums)
|
#if FMT_HAS_FEATURE(cxx_strong_enums)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user