From 5cea5206270de9d049a4c22ff000b241defedaca Mon Sep 17 00:00:00 2001 From: scantor Date: Wed, 11 Jan 2012 16:43:28 +0000 Subject: [PATCH] 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 --- saml/internal.h | 3 ++- saml/saml2/metadata/impl/XMLMetadataProvider.cpp | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.1.4