[cpp-opensaml COMMIT] /branches/REL_2/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp
noreply at shibboleth.net
noreply at shibboleth.net
Mon Apr 16 22:28:19 BST 2012
Author: scantor
Date: Mon Apr 16 22:28:19 2012
New Revision: 723
URL: http://svn.shibboleth.net/view/cpp-opensaml?rev=723&view=rev
Log:
Switch from auto_ptr to scoped_ptr.
Modified:
branches/REL_2/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp
Modified: branches/REL_2/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp
URL: http://svn.shibboleth.net/view/cpp-opensaml/branches/REL_2/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp?rev=723&r1=722&r2=723&view=diff
==============================================================================
--- branches/REL_2/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp (original)
+++ branches/REL_2/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp Mon Apr 16 22:28:19 2012
@@ -33,6 +33,7 @@
#include "saml2/metadata/Metadata.h"
#include "saml2/metadata/MetadataProvider.h"
+#include <boost/scoped_ptr.hpp>
#include <xmltooling/logging.h>
#include <xmltooling/XMLToolingConfig.h>
#include <xmltooling/io/HTTPRequest.h>
@@ -45,6 +46,7 @@
using namespace opensaml;
using namespace xmltooling::logging;
using namespace xmltooling;
+using namespace boost;
using namespace std;
namespace opensaml {
@@ -95,7 +97,7 @@
throw BindingException("Artifact binding requires ArtifactResolver and MetadataProvider implementations be supplied.");
// Import the artifact.
- auto_ptr<SAMLArtifact> artifact;
+ scoped_ptr<SAMLArtifact> artifact;
try {
log.debug("processing encoded artifact (%s)", SAMLart);
More information about the commits
mailing list