mirror of https://github.com/axmolengine/axmol.git
Merge pull request #4923 from Dhilan007/develop_crash
fix crash in NewEventDispatcherTest.cpp on vs
This commit is contained in:
commit
18934eeca3
|
@ -749,6 +749,15 @@ std::string RemoveListenerAfterAddingTest::subtitle() const
|
||||||
//
|
//
|
||||||
//DirectorEventTest
|
//DirectorEventTest
|
||||||
//
|
//
|
||||||
|
DirectorEventTest::DirectorEventTest()
|
||||||
|
:_count1(0)
|
||||||
|
,_count2(0)
|
||||||
|
,_count3(0)
|
||||||
|
,_count4(0)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void DirectorEventTest::onEnter()
|
void DirectorEventTest::onEnter()
|
||||||
{
|
{
|
||||||
EventDispatcherTestDemo::onEnter();
|
EventDispatcherTestDemo::onEnter();
|
||||||
|
|
|
@ -117,6 +117,7 @@ class DirectorEventTest : public EventDispatcherTestDemo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CREATE_FUNC(DirectorEventTest);
|
CREATE_FUNC(DirectorEventTest);
|
||||||
|
DirectorEventTest();
|
||||||
virtual void onEnter() override;
|
virtual void onEnter() override;
|
||||||
virtual void onExit() override;
|
virtual void onExit() override;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue