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
path: root/tests
diff options
context:
space:
mode:
authorJordan Maples <jomaples@microsoft.com>2019-09-28 22:54:18 +0300
committerJordan Maples <jomaples@microsoft.com>2019-09-28 22:54:18 +0300
commitbbeb0bdc91f404aa7758668ac788f91696fb2cd8 (patch)
tree994c205241d797922e3dec0934bbf269356db3ca /tests
parent1046c9d247eb6b6b14ccf7b2372571e1e4062d63 (diff)
initial deprecation of multi_span and strided_span
Diffstat (limited to 'tests')
-rw-r--r--tests/bounds_tests.cpp2
-rw-r--r--tests/multi_span_tests.cpp2
-rw-r--r--tests/strided_span_tests.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/bounds_tests.cpp b/tests/bounds_tests.cpp
index e586d44..1de4e1a 100644
--- a/tests/bounds_tests.cpp
+++ b/tests/bounds_tests.cpp
@@ -17,7 +17,7 @@
#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
+#pragma warning(disable : 26440 26426 4996) // from catch deprecated
#endif
#include <catch/catch.hpp> // for AssertionHandler, StringRef, TEST_CASE
diff --git a/tests/multi_span_tests.cpp b/tests/multi_span_tests.cpp
index 7e3ec89..3aaf2f9 100644
--- a/tests/multi_span_tests.cpp
+++ b/tests/multi_span_tests.cpp
@@ -17,7 +17,7 @@
#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
+#pragma warning(disable : 26440 26426 4996) // from catch deprecated
#endif
diff --git a/tests/strided_span_tests.cpp b/tests/strided_span_tests.cpp
index 1563d90..949b1c2 100644
--- a/tests/strided_span_tests.cpp
+++ b/tests/strided_span_tests.cpp
@@ -17,7 +17,7 @@
#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
+#pragma warning(disable : 26440 26426 4996) // from catch deprecated
#endif