Merge pull request #15784 from mogemimi/fix-unused-param

Fix unused parameter warning when compiling CCArray
This commit is contained in:
minggo 2016-06-06 10:13:28 +08:00
commit 264bf87c87
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()