fixed build......... subcases.cpp(142): warning C5032: detected #pragma warning(push) with no corresponding #pragma warning(pop)
diff --git a/examples/all_features/subcases.cpp b/examples/all_features/subcases.cpp
index e6d710a..3755c4f 100644
--- a/examples/all_features/subcases.cpp
+++ b/examples/all_features/subcases.cpp
@@ -139,8 +139,8 @@
}
}
-DOCTEST_MSVC_SUPPRESS_WARNING_WITH_PUSH(5045) // Spectre mitigation stuff
-DOCTEST_GCC_SUPPRESS_WARNING_WITH_PUSH("-Wuseless-cast") // for the std::string() cast
+DOCTEST_MSVC_SUPPRESS_WARNING(5045) // Spectre mitigation stuff
+DOCTEST_GCC_SUPPRESS_WARNING("-Wuseless-cast") // for the std::string() cast
#undef SUBCASE
#define SUBCASE(...) DOCTEST_SUBCASE(std::string(__VA_ARGS__).c_str())