Use core/linked_list.h
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#define ARRAY_ALLOCATE(allocator, size) allocate_size(allocator, size)
|
||||
#define ARRAY_DEALLOCATE(allocator, p) deallocate(allocator, p)
|
||||
#include "core/array.hpp"
|
||||
#include "core/linked_list.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Map
|
||||
@@ -291,7 +292,7 @@ void list_make_sure_there_is_room_for_item_count(Allocator *arena, List<T> *list
|
||||
}
|
||||
|
||||
assert(node);
|
||||
DLL_QUEUE_ADD_LAST(list->first, list->last, node);
|
||||
DLL_QUEUE_ADD(list->first, list->last, node);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user