diff options
author | rubidium <rubidium@openttd.org> | 2009-05-26 11:19:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-26 11:19:04 +0000 |
commit | b19d0e0254883d0db9d8f3d01dacd94e0229f9ac (patch) | |
tree | 152d2b425ceec441a36bcb95f34afeace8d2ee31 /src/road_type.h | |
parent | 984bd3b98d6a7ad40fdfa9ef74da79dbd7de8840 (diff) | |
download | openttd-b19d0e0254883d0db9d8f3d01dacd94e0229f9ac.tar.xz |
(svn r16428) -Codechange: use the less bloated SimpleTinyEnumT instead of TinyEnumT if the stuff provided by TinyEnumT but not SimpleTinyEnumT is not used.
Diffstat (limited to 'src/road_type.h')
-rw-r--r-- | src/road_type.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/road_type.h b/src/road_type.h index 4554de2d3..a50f91c7c 100644 --- a/src/road_type.h +++ b/src/road_type.h @@ -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; /** |