(svn r16428) -Codechange: use the less bloated SimpleTinyEnumT instead of TinyEnumT if the stuff provided by TinyEnumT but not SimpleTinyEnumT is not used.
This commit is contained in:
@@ -34,8 +34,7 @@ enum RoadTypes {
|
||||
INVALID_ROADTYPES = 0xFF ///< Invalid roadtypes
|
||||
};
|
||||
DECLARE_ENUM_AS_BIT_SET(RoadTypes);
|
||||
template <> struct EnumPropsT<RoadTypes> : MakeEnumPropsT<RoadTypes, byte, ROADTYPES_NONE, ROADTYPES_END, INVALID_ROADTYPES> {};
|
||||
typedef TinyEnumT<RoadTypes> RoadTypesByte;
|
||||
typedef SimpleTinyEnumT<RoadTypes, byte> RoadTypesByte;
|
||||
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user