From f4425f5db2f32f64e2258fdb22fe36dff911f7b1 Mon Sep 17 00:00:00 2001 From: Jason Xu Date: Thu, 14 Nov 2013 11:08:50 +0800 Subject: [PATCH] C++11: NULL -> nullptr --- cocos/2d/CCUserDefault.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/2d/CCUserDefault.cpp b/cocos/2d/CCUserDefault.cpp index 1a83091dfe..d81596fca6 100644 --- a/cocos/2d/CCUserDefault.cpp +++ b/cocos/2d/CCUserDefault.cpp @@ -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;