Convert some NULL macros.
authorScott Cantor <cantor.2@osu.edu>
Mon, 6 Sep 2010 17:52:53 +0000 (17:52 +0000)
committerScott Cantor <cantor.2@osu.edu>
Mon, 6 Sep 2010 17:52:53 +0000 (17:52 +0000)
xmltooling/security/impl/InlineKeyResolver.cpp

index 08eef79..7dc1126 100644 (file)
@@ -323,8 +323,8 @@ bool InlineCredential::resolveKey(const KeyInfo* keyInfo, bool followRefs)
 
     if (followRefs) {
         // Check for KeyInfoReference.
-        const XMLCh* fragID=NULL;
-        const XMLObject* treeRoot=NULL;
+        const XMLCh* fragID=nullptr;
+        const XMLObject* treeRoot=nullptr;
         const vector<KeyInfoReference*>& refs = keyInfo->getKeyInfoReferences();
         for (vector<KeyInfoReference*>::const_iterator ref = refs.begin(); ref != refs.end(); ++ref) {
             fragID = (*ref)->getURI();