(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:
rubidium
2009-05-26 11:19:04 +00:00
parent 984bd3b98d
commit b19d0e0254
7 changed files with 12 additions and 31 deletions

View File

@@ -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;
/**