From: scantor Date: Mon, 16 Apr 2012 21:28:19 +0000 (+0000) Subject: Switch from auto_ptr to scoped_ptr. X-Git-Tag: 2.5.0~20 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fopensaml2.git;a=commitdiff_plain;h=0ee55d3421be85b2fb3b8fee3a0b306996eabefc Switch from auto_ptr to scoped_ptr. git-svn-id: https://svn.shibboleth.net/cpp-opensaml/branches/REL_2@723 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- diff --git a/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp b/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp index dafe381..313df44 100644 --- a/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp +++ b/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp @@ -33,6 +33,7 @@ #include "saml2/metadata/Metadata.h" #include "saml2/metadata/MetadataProvider.h" +#include #include #include #include @@ -45,6 +46,7 @@ using namespace opensaml::saml2; using namespace opensaml; using namespace xmltooling::logging; using namespace xmltooling; +using namespace boost; using namespace std; namespace opensaml { @@ -95,7 +97,7 @@ XMLObject* SAML2ArtifactDecoder::decode( throw BindingException("Artifact binding requires ArtifactResolver and MetadataProvider implementations be supplied."); // Import the artifact. - auto_ptr artifact; + scoped_ptr artifact; try { log.debug("processing encoded artifact (%s)", SAMLart);