mirror of https://github.com/axmolengine/axmol.git
Merge pull request #2738 from minggo/develop-test
declare _functions as it is initialized
This commit is contained in:
commit
3689c81536
|
@ -271,9 +271,6 @@ protected:
|
||||||
|
|
||||||
int m_nScriptHandler;
|
int m_nScriptHandler;
|
||||||
|
|
||||||
/** function that will be called */
|
|
||||||
std::function<void()> _function;
|
|
||||||
|
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
SEL_CallFunc m_pCallFunc;
|
SEL_CallFunc m_pCallFunc;
|
||||||
|
@ -281,6 +278,9 @@ protected:
|
||||||
SEL_CallFuncND m_pCallFuncND;
|
SEL_CallFuncND m_pCallFuncND;
|
||||||
SEL_CallFuncO m_pCallFuncO;
|
SEL_CallFuncO m_pCallFuncO;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** function that will be called */
|
||||||
|
std::function<void()> _function;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue