Remove superfluous warning suppression from console reporter

This commit is contained in:
Martin Hořeňovský 2021-09-06 23:34:26 +02:00
parent 432d03d1aa
commit ab3fe0053d
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -11,14 +11,6 @@
#include <catch2/reporters/catch_reporter_streaming_base.hpp> #include <catch2/reporters/catch_reporter_streaming_base.hpp>
#include <catch2/internal/catch_unique_ptr.hpp> #include <catch2/internal/catch_unique_ptr.hpp>
#if defined(_MSC_VER)
#pragma warning(push)
#pragma warning(disable:4061) // Not all labels are EXPLICITLY handled in switch
// Note that 4062 (not all labels are handled
// and default is missing) is enabled
#endif
namespace Catch { namespace Catch {
// Fwd decls // Fwd decls
struct SummaryColumn; struct SummaryColumn;
@ -81,8 +73,4 @@ namespace Catch {
} // end namespace Catch } // end namespace Catch
#if defined(_MSC_VER)
#pragma warning(pop)
#endif
#endif // CATCH_REPORTER_CONSOLE_HPP_INCLUDED #endif // CATCH_REPORTER_CONSOLE_HPP_INCLUDED