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;
|
||||
}
|
||||
|
||||
CCReverseTime::CCReverseTime() : m_pOther(NULL)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
CCReverseTime::~CCReverseTime(void)
|
||||
{
|
||||
CC_SAFE_RELEASE(m_pOther);
|
||||
|
|
|
@ -641,6 +641,7 @@ class CC_DLL CCReverseTime : public CCActionInterval
|
|||
{
|
||||
public:
|
||||
~CCReverseTime(void);
|
||||
CCReverseTime();
|
||||
|
||||
/** initializes the action */
|
||||
bool initWithAction(CCFiniteTimeAction *pAction);
|
||||
|
|
Loading…
Reference in New Issue