[cpp-opensaml COMMIT] /branches/REL_2/saml/saml2/metadata/MetadataProvider.h

noreply at shibboleth.net noreply at shibboleth.net
Tue May 22 01:55:33 BST 2012


Author: scantor
Date: Tue May 22 01:55:33 2012
New Revision: 729

URL: http://svn.shibboleth.net/view/cpp-opensaml?rev=729&view=rev
Log:
Switch to scoped ptr

Modified:
    branches/REL_2/saml/saml2/metadata/MetadataProvider.h

Modified: branches/REL_2/saml/saml2/metadata/MetadataProvider.h
URL: http://svn.shibboleth.net/view/cpp-opensaml/branches/REL_2/saml/saml2/metadata/MetadataProvider.h?rev=729&r1=728&r2=729&view=diff
==============================================================================
--- branches/REL_2/saml/saml2/metadata/MetadataProvider.h (original)
+++ branches/REL_2/saml/saml2/metadata/MetadataProvider.h Tue May 22 01:55:33 2012
@@ -31,7 +31,7 @@
 
 #include <vector>
 #include <iostream>
-#include <boost/shared_ptr.hpp>
+#include <boost/scoped_ptr.hpp>
 #include <boost/ptr_container/ptr_vector.hpp>
 #include <xmltooling/exceptions.h>
 #include <xmltooling/security/CredentialResolver.h>
@@ -262,7 +262,7 @@
             void doFilters(xmltooling::XMLObject& xmlObject) const;
 
         private:
-            boost::shared_ptr<MetadataFilterContext> m_filterContext;
+            boost::scoped_ptr<MetadataFilterContext> m_filterContext;
             boost::ptr_vector<MetadataFilter> m_filters;
         };
 



More information about the commits mailing list