Codechange: allow certain enumeration to be added
Otherwise C++20 doesn't like it.
This commit is contained in:
@@ -35,6 +35,7 @@ enum VehicleType : byte {
|
||||
VEH_INVALID = 0xFF, ///< Non-existing type of vehicle.
|
||||
};
|
||||
DECLARE_POSTFIX_INCREMENT(VehicleType)
|
||||
DECLARE_ENUM_AS_ADDABLE(VehicleType)
|
||||
|
||||
struct Vehicle;
|
||||
struct Train;
|
||||
|
Reference in New Issue
Block a user