Convert from NULL macro to nullptr.
[shibboleth/cpp-xmltooling.git] / xmltooling / io / HTTPRequest.cpp
index 2a71c30..8ca93c3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2009 Internet2
+ *  Copyright 2001-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,5 +75,5 @@ const char* HTTPRequest::getCookie(const char* name) const
         }
     }
     map<string,string>::const_iterator lookup=m_cookieMap.find(name);
-    return (lookup==m_cookieMap.end()) ? NULL : lookup->second.c_str();
+    return (lookup==m_cookieMap.end()) ? nullptr : lookup->second.c_str();
 }