From 11958e956868cd1b7c400da22fdcb3ca3145b636 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 1 Nov 2021 02:42:03 +0200 Subject: [PATCH] Avoid C4101 in scoped_enum.cpp --- test/scoped_enum.cpp | 1 + 1 file changed, 1 insertion(+) 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*[])