C++11: NULL -> nullptr

This commit is contained in:
Jason Xu 2013-11-14 11:08:50 +08:00
parent dee3bffcdc
commit f4425f5db2
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ bool UserDefault::createXMLFile()
{
return false;
}
tinyxml2::XMLDeclaration *pDeclaration = pDoc->NewDeclaration(NULL);
tinyxml2::XMLDeclaration *pDeclaration = pDoc->NewDeclaration(nullptr);
if (NULL==pDeclaration)
{
return false;