deprecating span::at and span::operator()

This commit is contained in:
Jordan Maples [MSFT] committed 2020-01-09 12:51:28 -08:00
1 parent 0fefba89da
commit cfd82aef4e
2 files changed
+8 -1

No files matched your search

+4 -1
View File
@@ -17,8 +17,11 @@
#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 26497 4189) // from catch
#pragma warning(disable : 26440 26426 26497 4189 4996)
#if __clang__ || __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
#if __clang__ || __GNUC__