Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/GSL.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoelf-Jilling <r-j.wolthuis@live.com>2020-01-15 20:33:37 +0300
committerRoelf-Jilling <r-j.wolthuis@live.com>2020-01-16 13:49:15 +0300
commit81f56796a1c844eada87c4bf91a479a29715703e (patch)
tree974183c212a77ac24ebb69f798e8604f1c96091e /tests/algorithm_tests.cpp
parent4cbd8948125a9070d8f342b6cb51bc02d108ca82 (diff)
MSVC and CoreChecker warning suppression for tests to CMake
Suppress CppCoreCheck warnings on GTest macros. Suppress CppCoreCheck advice to use the GSL
Diffstat (limited to 'tests/algorithm_tests.cpp')
-rw-r--r--tests/algorithm_tests.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/algorithm_tests.cpp b/tests/algorithm_tests.cpp
index cf6eb01..ec9b2d1 100644
--- a/tests/algorithm_tests.cpp
+++ b/tests/algorithm_tests.cpp
@@ -14,12 +14,6 @@
//
///////////////////////////////////////////////////////////////////////////////
-#ifdef _MSC_VER
-// blanket turn off warnings from CppCoreCheck from catch
-// so people aren't annoyed by them when running the tool.
-#pragma warning(disable : 26440 26426) // from catch
-#endif
-
#include <gtest/gtest.h>
#include <gsl/gsl_algorithm> // for copy
#include <gsl/span> // for span