boost changes and header fixes
[shibboleth/cpp-opensaml.git] / saml / saml2 / metadata / DynamicMetadataProvider.h
index 179bc2e..2e19d7e 100644 (file)
@@ -72,7 +72,7 @@ namespace opensaml {
 
         private:
             std::string m_id;
-            mutable xmltooling::RWLock* m_lock;
+            std::auto_ptr<xmltooling::RWLock> m_lock;
             double m_refreshDelayFactor;
             time_t m_minCacheDuration, m_maxCacheDuration;
             typedef std::map<xmltooling::xstring,time_t> cachemap_t;