Projects > cpp > Issues > Bug #965

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Remove some dynamic_cast calling since selector_protocol.h was removed

Bug #965 [Closed]
dumganhar 2012-02-02 09:34 . Updated over 4 years ago

For example:

bool CCCallFunc::initWithTarget(CCObject* pSelectorTarget) {
    if (pSelectorTarget) 
    {
        dynamic_cast(pSelectorTarget)->retain();
    }

    if (m_pSelectorTarget) 
    {
        dynamic_cast(m_pSelectorTarget)->release();
    }

    m_pSelectorTarget = pSelectorTarget;
    return true;
}
dumganhar 2012-02-07 02:02
  • Status changed from New to Resolved
  • % Done changed from 0 to 100
dumganhar 2012-02-18 06:04

Applied in changeset commit:d5b7c3365c4499b885ef9db167f7576609af8ea5.

dumganhar 2012-02-18 06:04

Applied in changeset commit:4223b87d3d782e7dbdb2a43ef767dbfe7886fcf7.

zhangxm 2012-02-27 09:31
  • Status changed from Resolved to Closed
walzer@cocos2d-x.org 2012-05-25 08:00
  • Project changed from cocos2d-x to cpp
  • Category deleted (5)
  • Target version deleted (cocos2d-1.0.1-x-0.12.0)

Atom PDF

Status:Closed
Start date:2012-02-02
Priority:Normal
Due date:
Assignee:dumganhar
% Done:

100%

Category:-
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.