cocos2d/cocos2d-x — pull request #2539 by metalgit92 (2013-05-08 22:25:34+00:00)
Title: Added const qualification to CCNode's getTag & getContentSize

As we want to be able to copy construct CCNode's subclasses we want to be able to do this:

class SubNode : public cocos2d::CCNode
{
public:
SubNode(const SubNode& other)
{
this->setContentSize(other,getContentSize());
}
};

Of course this are not the only methods that need const added, but seem the most obvious ones.
We cannot add const to all of them because implementations of them would need to be const as well.