projects
/
shibboleth
/
cpp-opensaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
af012a2
)
Switch from auto_ptr to scoped_ptr.
author
Scott Cantor
<cantor.2@osu.edu>
Mon, 16 Apr 2012 21:28:19 +0000
(21:28 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Mon, 16 Apr 2012 21:28:19 +0000
(21:28 +0000)
saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp
patch
|
blob
|
history
diff --git
a/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp
b/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp
index
dafe381
..
313df44
100644
(file)
--- 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 "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>
#include <xmltooling/logging.h>
#include <xmltooling/XMLToolingConfig.h>
#include <xmltooling/io/HTTPRequest.h>
@@
-45,6
+46,7
@@
using namespace opensaml::saml2;
using namespace opensaml;
using namespace xmltooling::logging;
using namespace xmltooling;
using namespace opensaml;
using namespace xmltooling::logging;
using namespace xmltooling;
+using namespace boost;
using namespace std;
namespace opensaml {
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.
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);
try {
log.debug("processing encoded artifact (%s)", SAMLart);