X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fprofile%2Fimpl%2FConditionsRule.cpp;h=7f7d84f9c066076ea2a3962fdc87e366a8400dfa;hp=e572d2be4fc0bbf5542a682c52ba13a1fa9bbece;hb=e9554c255ad3c91c7c4976e7a1a54905903e66a2;hpb=50f75e2cd3ddaca8e9808a3e5af9517deca3c9c3 diff --git a/saml/profile/impl/ConditionsRule.cpp b/saml/profile/impl/ConditionsRule.cpp index e572d2b..7f7d84f 100644 --- a/saml/profile/impl/ConditionsRule.cpp +++ b/saml/profile/impl/ConditionsRule.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2009 Internet2 + * Copyright 2009-2010 Internet2 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,7 +75,7 @@ namespace opensaml { ""; }; -ConditionsRule::ConditionsRule(const DOMElement* e) : m_doc(NULL) +ConditionsRule::ConditionsRule(const DOMElement* e) : m_doc(nullptr) { Category& log=Category::getInstance(SAML_LOGCAT".SecurityPolicyRule.Conditions"); @@ -88,7 +88,7 @@ ConditionsRule::ConditionsRule(const DOMElement* e) : m_doc(NULL) e = XMLHelper::getFirstChildElement(e, Rule); while (e) { - auto_ptr_char temp(e->getAttributeNS(NULL, type)); + auto_ptr_char temp(e->getAttributeNS(nullptr, type)); if (temp.get() && *temp.get()) { try { log.info("building SecurityPolicyRule of type %s", temp.get());