From 0b6858bdde1dbfe35c2c2b6c4d0e054886a517f2 Mon Sep 17 00:00:00 2001 From: James Chen Date: Thu, 20 Feb 2014 21:37:01 +0800 Subject: [PATCH] Added virtual and override keywords to Scene::init() method --- cocos/2d/CCScene.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/2d/CCScene.h b/cocos/2d/CCScene.h index a99912b3f9..de2b2e46eb 100644 --- a/cocos/2d/CCScene.h +++ b/cocos/2d/CCScene.h @@ -63,7 +63,7 @@ public: protected: Scene(); virtual ~Scene(); - bool init(); + virtual bool init() override; friend class Node; friend class SpriteBatchNode;