Rename OT_RELEASE_SLOT to OT_SLOT, use a subtype field
This commit is contained in:
@@ -2778,7 +2778,7 @@ void TraceRestrictRemoveSlotID(TraceRestrictSlotID index)
|
||||
o->GetXDataRef() = INVALID_TRACE_RESTRICT_SLOT_ID;
|
||||
changed_order = true;
|
||||
}
|
||||
if (o->IsType(OT_RELEASE_SLOT) && o->GetDestination() == index) {
|
||||
if (o->IsType(OT_SLOT) && o->GetDestination() == index) {
|
||||
o->SetDestination(INVALID_TRACE_RESTRICT_SLOT_ID);
|
||||
changed_order = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user