Suppress VS warning.
[shibboleth/sp.git] / shibsp / ServiceProvider.h
index f3003c4..2486967 100644 (file)
@@ -53,6 +53,11 @@ namespace shibsp {
     class SHIBSP_API TransactionLog;
 #endif
 
+#if defined (_MSC_VER)
+    #pragma warning( push )
+    #pragma warning( disable : 4251 )
+#endif
+
     /**
      * Interface to a Shibboleth ServiceProvider instance.
      * 
@@ -238,6 +243,10 @@ namespace shibsp {
         std::map<std::string,Remoted*> m_listenerMap;
     };
 
+#if defined (_MSC_VER)
+    #pragma warning( pop )
+#endif
+
     /**
      * Registers ServiceProvider classes into the runtime.
      */