mirror of https://github.com/axmolengine/axmol.git
C++11: NULL -> nullptr
This commit is contained in:
parent
dee3bffcdc
commit
f4425f5db2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue