From: scantor 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~45 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fopensaml2.git;a=commitdiff_plain;h=5cea5206270de9d049a4c22ff000b241defedaca Switched to scoped lock to fix missing header git-svn-id: https://svn.shibboleth.net/cpp-opensaml/branches/REL_2@698 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- 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