Codechange: strongly type OrderID and OrderListID

This commit is contained in:
Rubidium
2025-01-31 21:50:51 +01:00
committed by rubidium42
parent d61d643906
commit 9ab36b594d
5 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ struct ORDRChunkHandler : ChunkHandler {
/* Update all the next pointer */
for (Order *o : Order::Iterate()) {
size_t order_index = o->index;
size_t order_index = o->index.base();
/* Delete invalid orders */
if (o->IsType(OT_NOTHING)) {
delete o;