summaryrefslogtreecommitdiff
path: root/ec2n.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-05-30 16:37:41 -0400
committerJeffrey Walton <noloader@gmail.com>2017-05-30 16:37:41 -0400
commiteb3b27a6a5432b21e8e0bb2abb364096b2dca41e (patch)
tree73eaf4da159a59a9d8cbf5b1c0d3f9c9293398d0 /ec2n.h
parent23448050c0083f026bed98b00742dbd4c4ae72eb (diff)
downloadcryptopp-git-eb3b27a6a5432b21e8e0bb2abb364096b2dca41e.tar.gz
Clear Visual Studio warnings (Issue 412)
Diffstat (limited to 'ec2n.h')
-rw-r--r--ec2n.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ec2n.h b/ec2n.h
index 1d4c9824..cc4c0462 100644
--- a/ec2n.h
+++ b/ec2n.h
@@ -17,6 +17,11 @@
#include "smartptr.h"
#include "pubkey.h"
+#if CRYPTOPP_MSC_VERSION
+# pragma warning(push)
+# pragma warning(disable: 4231 4275)
+#endif
+
NAMESPACE_BEGIN(CryptoPP)
//! \class EC2N
@@ -123,4 +128,8 @@ private:
NAMESPACE_END
+#if CRYPTOPP_MSC_VERSION
+# pragma warning(pop)
+#endif
+
#endif