Fix unused parameter warning when compiling CCArray

This commit is contained in:
mogemimi 2016-06-04 21:17:53 +09:00
parent cf80eb18b1
commit a22302e2ee
1 changed files with 1 additions and 1 deletions

View File

@ -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()