Avoid C4101 in scoped_enum.cpp

This commit is contained in:
Peter Dimov
2021-11-01 02:42:03 +02:00
parent 56566d9abc
commit 11958e9568

View File

@ -142,6 +142,7 @@ void check_underlying_type()
// The real check for the type is in the underlying_type trait test.
namespace_enum2 enum1 = namespace_enum2::value1;
BOOST_TEST(sizeof(enum1) == sizeof(unsigned char));
(void)enum1;
}
int main(int, char*[])