replace assert with CC_ASSERT (#10913)

* replace assert with CC_ASSERT
This commit is contained in:
minggo
2022-04-29 10:18:41 +08:00
committed by GitHub
parent fa25709788
commit 8e7669bf92
65 changed files with 303 additions and 627 deletions
@@ -33,7 +33,7 @@ HandleObject::HandleObject(Object *obj)
: _obj(obj) {
if (_obj != nullptr) {
// se::HandleObject could not be used for native binding object.
assert(!_obj->_getClass());
CC_ASSERT(!_obj->_getClass());
_obj->root();
}
}