Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Remove superfluous warning suppression from console reporter

Commit
ab3fe0053d41ea80be5b0d11e7e9c49852810021
Author
Martin Hořeňovský ·
Parents
432d03d1aab8

Files · Download .tar.gz

Changes

 src/catch2/reporters/catch_reporter_console.hpp | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/catch2/reporters/catch_reporter_console.hpp b/src/catch2/reporters/catch_reporter_console.hpp
index b61e3115..0cf8589c 100644
--- a/src/catch2/reporters/catch_reporter_console.hpp
+++ b/src/catch2/reporters/catch_reporter_console.hpp
@@ -11,14 +11,6 @@
 #include <catch2/reporters/catch_reporter_streaming_base.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 {
     // Fwd decls
     struct SummaryColumn;
@@ -81,8 +73,4 @@ namespace Catch {
 
 } // end namespace Catch
 
-#if defined(_MSC_VER)
-#pragma warning(pop)
-#endif
-
 #endif // CATCH_REPORTER_CONSOLE_HPP_INCLUDED