vector class is broken
This commit is contained in:
parent
68454da4dc
commit
c9447cf7ca
2 changed files with 4 additions and 2 deletions
|
|
@ -32,8 +32,8 @@ void ARC_Handler_Add(ARC_Handler *handler, void *data){
|
|||
int8_t ARC_Handler_RemoveCompareFn(void *a, void *b){ return a == b; }
|
||||
|
||||
void ARC_Handler_Remove(ARC_Handler *handler, void *data){
|
||||
ARC_Vector_Remove(handler->data, data, ARC_Handler_RemoveCompareFn);
|
||||
ARC_Vector_Add(handler->trash, data);
|
||||
ARC_Vector_Remove(handler->data, data, ARC_Handler_RemoveCompareFn);
|
||||
}
|
||||
|
||||
void ARC_Handler_RemoveIndex(ARC_Handler *handler, uint32_t *index){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue