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