mirror of https://github.com/axmolengine/axmol.git
[WIN32] NULL --> nullptr for CCLayer.cpp.
This commit is contained in:
parent
a90f51d03a
commit
6ce5064f32
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue