Skip to content

Commit 6f86952

Browse files
committed
[CF] Rename remaining __kCFAllocatorTypeID_CONST.
PR #2786 references symbol __kCFAllocatorTypeID_CONST in CFRuntime.c but this was removed in #1708. After interpreting the commit, it looks like this symbol was renamed to _kCFRuntimeIDCFAllocator. Therefore, make this rename again.
1 parent 0f20a52 commit 6f86952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/Base.subproj/CFRuntime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1650,7 +1650,7 @@ static void _CFRelease(CFTypeRef CF_RELEASES_ARGUMENT cf) {
16501650
allocator = CFGetAllocator(cf);
16511651
usesSystemDefaultAllocator = _CFAllocatorIsSystemDefault(allocator);
16521652

1653-
if (__kCFAllocatorTypeID_CONST != __CFGenericTypeID_inline(cf)) {
1653+
if (_kCFRuntimeIDCFAllocator != __CFGenericTypeID_inline(cf)) {
16541654
allocatorToRelease = (CFAllocatorRef _Nonnull)__CFGetAllocator(cf);
16551655
}
16561656
}

0 commit comments

Comments
 (0)