diff options
author | Rian Quinn <rianquinn@gmail.com> | 2017-08-16 20:06:30 -0600 |
---|---|---|
committer | Neil MacIntosh <neilmac@microsoft.com> | 2017-08-16 19:06:30 -0700 |
commit | 842344e94bce47d9186f05b35d1b7c8722819798 (patch) | |
tree | c122004f0bd59ad1086ca89f05a10bee36555896 /include | |
parent | e249f861e3a77d1d4b754d2394c6f98065d8fa86 (diff) | |
download | platform_external_Microsoft-GSL-842344e94bce47d9186f05b35d1b7c8722819798.tar.gz platform_external_Microsoft-GSL-842344e94bce47d9186f05b35d1b7c8722819798.tar.bz2 platform_external_Microsoft-GSL-842344e94bce47d9186f05b35d1b7c8722819798.zip |
turning off warning (#548)
using the GSL with MSVC 2017 causes the following warning"
`'std::copy_n::_Unchecked_iterators::_Deprecate': Call to 'std::copy_n'`
This patch removes this since the point of this code is to deal with this issue.
Diffstat (limited to 'include')
-rw-r--r-- | include/gsl/gsl_algorithm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gsl/gsl_algorithm b/include/gsl/gsl_algorithm index 6e81e50..88c1ff7 100644 --- a/include/gsl/gsl_algorithm +++ b/include/gsl/gsl_algorithm @@ -28,6 +28,7 @@ // turn off some warnings that are noisy about our Expects statements #pragma warning(disable : 4127) // conditional expression is constant +#pragma warning(disable : 4996) // unsafe use of std::copy_n // blanket turn off warnings from CppCoreCheck for now // so people aren't annoyed by them when running the tool. |