mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 12:57:26 +02:00
Avoid C4101 in scoped_enum.cpp
This commit is contained in:
@ -142,6 +142,7 @@ void check_underlying_type()
|
|||||||
// The real check for the type is in the underlying_type trait test.
|
// The real check for the type is in the underlying_type trait test.
|
||||||
namespace_enum2 enum1 = namespace_enum2::value1;
|
namespace_enum2 enum1 = namespace_enum2::value1;
|
||||||
BOOST_TEST(sizeof(enum1) == sizeof(unsigned char));
|
BOOST_TEST(sizeof(enum1) == sizeof(unsigned char));
|
||||||
|
(void)enum1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int, char*[])
|
int main(int, char*[])
|
||||||
|
Reference in New Issue
Block a user