mirror of https://github.com/axmolengine/axmol.git
Fixes a comment typo in CCObject.h.
This commit is contained in:
parent
04d91f7e1d
commit
8efa186649
|
@ -97,7 +97,7 @@ void Object::release()
|
||||||
// obj->retain();
|
// obj->retain();
|
||||||
// obj->autorelease(); // This `autorelease` is the pair of `retain` of previous line.
|
// obj->autorelease(); // This `autorelease` is the pair of `retain` of previous line.
|
||||||
//
|
//
|
||||||
// Corrent usage (2):
|
// Correct usage (2):
|
||||||
//
|
//
|
||||||
// auto obj = Node::create();
|
// auto obj = Node::create();
|
||||||
// obj->retain();
|
// obj->retain();
|
||||||
|
|
Loading…
Reference in New Issue