From 814f7fee3282c81440fc70bd3fe34dd77dffa68f Mon Sep 17 00:00:00 2001 From: AZero13 Date: Thu, 11 Dec 2025 10:28:33 -0500 Subject: [PATCH] Allow estimate to be used on all platforms --- Sources/CoreFoundation/CFBinaryPList.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/Sources/CoreFoundation/CFBinaryPList.c b/Sources/CoreFoundation/CFBinaryPList.c index 3655b89f5f..47069c90b1 100644 --- a/Sources/CoreFoundation/CFBinaryPList.c +++ b/Sources/CoreFoundation/CFBinaryPList.c @@ -561,11 +561,9 @@ CF_PRIVATE CFIndex __CFBinaryPlistWriteOrPresize(CFPropertyListRef plist, CFType const CFSetCallBacks setCallbacks = {0, __CFTypeCollectionRetain, __CFTypeCollectionRelease, 0, 0, 0}; uniquingset = CFSetCreateMutable(kCFAllocatorSystemDefault, 0, &setCallbacks); -#if TARGET_OS_OSX _CFDictionarySetCapacity(objtable, estimate ? estimate : 650); _CFArraySetCapacity(objlist, estimate ? estimate : 650); _CFSetSetCapacity(uniquingset, estimate ? estimate : 1000); -#endif _flattenPlist(plist, objlist, objtable, uniquingset);