From 6ce5064f322a9874876112aec55ea002c5c641e5 Mon Sep 17 00:00:00 2001 From: James Chen Date: Thu, 20 Jun 2013 18:01:53 +0800 Subject: [PATCH] [WIN32] NULL --> nullptr for CCLayer.cpp. --- cocos2dx/layers_scenes_transitions_nodes/CCLayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2dx/layers_scenes_transitions_nodes/CCLayer.cpp b/cocos2dx/layers_scenes_transitions_nodes/CCLayer.cpp index bf2e3be0f7..ae5d984085 100644 --- a/cocos2dx/layers_scenes_transitions_nodes/CCLayer.cpp +++ b/cocos2dx/layers_scenes_transitions_nodes/CCLayer.cpp @@ -402,7 +402,7 @@ void Layer::onExit() // remove this layer from the delegates who concern Accelerometer Sensor if (_accelerometerEnabled) { - pDirector->getAccelerometer()->setDelegate(NULL); + pDirector->getAccelerometer()->setDelegate(nullptr); } // remove this layer from the delegates who concern the keypad msg