Convert some NULL macros.
authorcantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Mon, 6 Sep 2010 17:52:53 +0000 (17:52 +0000)
committercantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Mon, 6 Sep 2010 17:52:53 +0000 (17:52 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/branches/REL_1@787 de75baf8-a10c-0410-a50a-987c0e22f00f

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();