some more work
diff --git a/examples/all_features/header.h b/examples/all_features/header.h
index 1ff9ade..5f94410 100644
--- a/examples/all_features/header.h
+++ b/examples/all_features/header.h
@@ -46,12 +46,10 @@
DOCTEST_GCC_SUPPRESS_WARNING("-Wstrict-overflow")
#endif // gcc 5
-DOCTEST_MSVC_SUPPRESS_WARNING_WITH_PUSH(26439) // This kind of function may not throw. Declare it 'noexcept'
-
struct SomeFixture
{
int data;
- SomeFixture()
+ SomeFixture() noexcept
: data(42) {
// setup here
}
@@ -61,8 +59,6 @@
}
};
-DOCTEST_MSVC_SUPPRESS_WARNING_POP
-
TEST_CASE_FIXTURE(SomeFixture, "fixtured test") {
data /= 2;
CHECK(data == 21);