Add Status base class.
[shibboleth/cpp-opensaml.git] / saml / internal.h
index 3c2d4c2..6c5320d 100644 (file)
@@ -28,6 +28,7 @@
 #ifdef WIN32
 # define _CRT_SECURE_NO_DEPRECATE 1
 # define _CRT_NONSTDC_NO_DEPRECATE 1
+# define _SCL_SECURE_NO_WARNINGS 1
 #endif
 
 // Export public APIs
@@ -44,6 +45,7 @@
 #include "SAMLConfig.h"
 
 #include <limits.h>
+#include <boost/scoped_ptr.hpp>
 
 using namespace xercesc;
 
@@ -110,7 +112,7 @@ namespace opensaml {
 
     private:
         int m_initCount;
-        xmltooling::Mutex* m_lock;
+        boost::scoped_ptr<xmltooling::Mutex> m_lock;
     };
     /// @endcond