From 7cc194e745d5447eb777890262f437b37d241114 Mon Sep 17 00:00:00 2001 From: Rubidium Date: Fri, 31 Jan 2025 21:30:17 +0100 Subject: [PATCH] Codechange: strongly type EngineRenew --- src/autoreplace_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/autoreplace_base.h b/src/autoreplace_base.h index 3c9c32d893..895449845b 100644 --- a/src/autoreplace_base.h +++ b/src/autoreplace_base.h @@ -15,14 +15,14 @@ #include "engine_type.h" #include "group_type.h" -typedef uint16_t EngineRenewID; +using EngineRenewID = PoolID; /** * Memory pool for engine renew elements. DO NOT USE outside of engine.c. Is * placed here so the only exception to this rule, the saveload code, can use * it. */ -typedef Pool EngineRenewPool; +using EngineRenewPool = Pool; extern EngineRenewPool _enginerenew_pool; /**