Loading...
--- xnu/xnu-344.23/libkern/c++/OSOrderedSet.cpp
+++ xnu/xnu-201.19.3/libkern/c++/OSOrderedSet.cpp
@@ -148,7 +148,7 @@
haveUpdated();
for (i = 0; i < count; i++)
- array[i].obj->taggedRelease(OSTypeID(OSCollection));
+ array[i].obj->release();
count = 0;
}
@@ -176,7 +176,7 @@
}
array[index].obj = anObject;
// array[index].pri = pri;
- anObject->taggedRetain(OSTypeID(OSCollection));
+ anObject->retain();
count++;
return true;
@@ -219,7 +219,7 @@
if( deleted)
array[i-1] = array[i];
else if( (array[i].obj == anObject)) {
- array[i].obj->taggedRelease(OSTypeID(OSCollection));
+ array[i].obj->release();
deleted = true;
}
}