From: Scott Cantor Date: Wed, 11 Jan 2012 16:43:28 +0000 (+0000) Subject: Switched to scoped lock to fix missing header X-Git-Tag: 2.5.0~44 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=commitdiff_plain;h=1cc00cad473a796373e8a327e5d37bee4c74b411 Switched to scoped lock to fix missing header --- diff --git a/saml/internal.h b/saml/internal.h index 8183321..6c5320d 100644 --- a/saml/internal.h +++ b/saml/internal.h @@ -45,6 +45,7 @@ #include "SAMLConfig.h" #include +#include using namespace xercesc; @@ -111,7 +112,7 @@ namespace opensaml { private: int m_initCount; - std::auto_ptr m_lock; + boost::scoped_ptr m_lock; }; /// @endcond diff --git a/saml/saml2/metadata/impl/XMLMetadataProvider.cpp b/saml/saml2/metadata/impl/XMLMetadataProvider.cpp index 5273bac..19730ba 100644 --- a/saml/saml2/metadata/impl/XMLMetadataProvider.cpp +++ b/saml/saml2/metadata/impl/XMLMetadataProvider.cpp @@ -32,7 +32,6 @@ #include "saml2/metadata/DiscoverableMetadataProvider.h" #include -#include #include #include #include