[cpp-sp] branch main updated: Turn off common warning in DOMPropertySet

Rod Widdowson rdw at steadingsoftware.com
Fri Dec 6 15:56:59 UTC 2024


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=9f63344e11fb168375ce1e70c6d450760413506b

The following commit(s) were added to refs/heads/main by this push:
     new 9f63344e Turn off common warning in DOMPropertySet
9f63344e is described below

commit 9f63344e11fb168375ce1e70c6d450760413506b
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Dec 6 15:55:55 2024 +0000

    Turn off common warning in DOMPropertySet
---
 shibsp/util/DOMPropertySet.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/shibsp/util/DOMPropertySet.h b/shibsp/util/DOMPropertySet.h
index 37882da1..62cca06f 100644
--- a/shibsp/util/DOMPropertySet.h
+++ b/shibsp/util/DOMPropertySet.h
@@ -32,6 +32,11 @@
 #include <set>
 #include <boost/shared_ptr.hpp>
 
+#if defined (_MSC_VER)
+#    pragma warning( push )
+#    pragma warning( disable : 4251 )
+#endif
+
 namespace xmltooling {
 	class QName;
 }
@@ -138,4 +143,8 @@ namespace shibsp {
 
 };
 
+#if defined (_MSC_VER)
+#   pragma warning( pop )
+#endif
+
 #endif /* __shibsp_dompropset_h__ */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list