From 1e06801f9c2abf9b5f199887601e3254fd87fa3a Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Mon, 16 Apr 2012 21:28:19 +0000 Subject: [PATCH] Switch from auto_ptr to scoped_ptr. --- saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.1.4