(svn r19654) -Codechange: Use Extract<> in more places.
This commit is contained in:
@@ -27,6 +27,7 @@ enum StationClassID {
|
||||
STAT_CLASS_MAX = 32, ///< Maximum number of classes.
|
||||
};
|
||||
typedef SimpleTinyEnumT<StationClassID, byte> StationClassIDByte;
|
||||
template <> struct EnumPropsT<StationClassID> : MakeEnumPropsT<StationClassID, byte, STAT_CLASS_BEGIN, STAT_CLASS_MAX, STAT_CLASS_MAX, 8> {};
|
||||
|
||||
/** Allow incrementing of StationClassID variables */
|
||||
DECLARE_POSTFIX_INCREMENT(StationClassID)
|
||||
|
Reference in New Issue
Block a user