Fix for CPArray and _CPJavaScriptArray -copy

This commit is contained in:
Randall Luecke committed 2011-01-04 22:59:33 -06:00
1 parent 03aaa89a61
commit a000687a42
2 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -756,7 +756,7 @@ CPBinarySearchingInsertionIndex = 1 << 10;
*/
- (id)copy
{
return slice(0);
return [[[self class] arrayWithArray:self];
}
@end