mirror of https://github.com/axmolengine/axmol.git
Merge pull request #354 from minggo/iss577
[android] fixed #577: init member variable to default value
This commit is contained in:
commit
6129e33794
|
@ -1952,6 +1952,11 @@ CCObject* CCReverseTime::copyWithZone(cocos2d::CCZone *pZone)
|
||||||
return pCopy;
|
return pCopy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CCReverseTime::CCReverseTime() : m_pOther(NULL)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
CCReverseTime::~CCReverseTime(void)
|
CCReverseTime::~CCReverseTime(void)
|
||||||
{
|
{
|
||||||
CC_SAFE_RELEASE(m_pOther);
|
CC_SAFE_RELEASE(m_pOther);
|
||||||
|
|
|
@ -641,6 +641,7 @@ class CC_DLL CCReverseTime : public CCActionInterval
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
~CCReverseTime(void);
|
~CCReverseTime(void);
|
||||||
|
CCReverseTime();
|
||||||
|
|
||||||
/** initializes the action */
|
/** initializes the action */
|
||||||
bool initWithAction(CCFiniteTimeAction *pAction);
|
bool initWithAction(CCFiniteTimeAction *pAction);
|
||||||
|
|
Loading…
Reference in New Issue