From d61d643906cc918621c9d620d35fd22542f6649e Mon Sep 17 00:00:00 2001 From: Rubidium Date: Fri, 31 Jan 2025 21:47:47 +0100 Subject: [PATCH] Codechange: strongly type OrderBackupID --- src/order_backup.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/order_backup.h b/src/order_backup.h index 8616c564ee..45f0ddcea3 100644 --- a/src/order_backup.h +++ b/src/order_backup.h @@ -18,11 +18,11 @@ #include "saveload/saveload.h" /** Unique identifier for an order backup. */ -typedef uint8_t OrderBackupID; +using OrderBackupID = PoolID; struct OrderBackup; /** The pool type for order backups. */ -typedef Pool OrderBackupPool; +using OrderBackupPool = Pool; /** The pool with order backups. */ extern OrderBackupPool _order_backup_pool;