Codechange: strongly type GroupID
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#include "engine_type.h"
|
||||
#include "livery.h"
|
||||
|
||||
typedef Pool<Group, GroupID, 16, 64000> GroupPool;
|
||||
using GroupPool = Pool<Group, GroupID, 16, GroupID::End().base()>;
|
||||
extern GroupPool _group_pool; ///< Pool of groups.
|
||||
|
||||
/** Statistics and caches on the vehicles in a group. */
|
||||
|
||||
Reference in New Issue
Block a user