diff --git a/test/scoped_enum.cpp b/test/scoped_enum.cpp index 2a83749..3d9afa1 100644 --- a/test/scoped_enum.cpp +++ b/test/scoped_enum.cpp @@ -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*[])