Remove warning on unused variable

This commit is contained in:
Florin Iucha 2018-12-15 16:06:43 -05:00
parent 840fa466e8
commit cbf38f3e44

View File

@ -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)