mirror of https://github.com/axmolengine/axmol.git
Fix unused parameter warning when compiling CCArray
This commit is contained in:
parent
cf80eb18b1
commit
a22302e2ee
|
@ -695,7 +695,7 @@ void __Array::exchangeObjectAtIndex(ssize_t index1, ssize_t index2)
|
|||
void __Array::replaceObjectAtIndex(ssize_t index, Ref* object, bool releaseObject/* = true*/)
|
||||
{
|
||||
ccArrayInsertObjectAtIndex(data, object, index);
|
||||
ccArrayRemoveObjectAtIndex(data, index + 1);
|
||||
ccArrayRemoveObjectAtIndex(data, index + 1, releaseObject);
|
||||
}
|
||||
|
||||
void __Array::reverseObjects()
|
||||
|
|
Loading…
Reference in New Issue