Suppress warning also for VS2017

The warning suppression for Visual Studio 2015 is also needed for Visual Studio 2017 (_MSC_VER = 1910).
pull/363/head
Marcel Raad 2017-01-13 13:58:03 +01:00 committed by GitHub
parent 3584c4025a
commit f1d2d15604
1 changed files with 2 additions and 2 deletions

4
wait.h
View File

@ -34,7 +34,7 @@
// http://connect.microsoft.com/VisualStudio/feedback/details/1581706
// and http://github.com/weidai11/cryptopp/issues/214
#if CRYPTOPP_MSC_VERSION == 1900
#if (CRYPTOPP_MSC_VERSION >= 1900) && (CRYPTOPP_MSC_VERSION < 2000)
# pragma warning(push)
# pragma warning(disable: 4589)
#endif
@ -226,7 +226,7 @@ private:
NAMESPACE_END
#if CRYPTOPP_MSC_VERSION == 1900
#if (CRYPTOPP_MSC_VERSION >= 1900) && (CRYPTOPP_MSC_VERSION < 2000)
# pragma warning(pop)
#endif