From b19d0e0254883d0db9d8f3d01dacd94e0229f9ac Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 26 May 2009 11:19:04 +0000 Subject: (svn r16428) -Codechange: use the less bloated SimpleTinyEnumT instead of TinyEnumT if the stuff provided by TinyEnumT but not SimpleTinyEnumT is not used. --- src/newgrf_station.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/newgrf_station.h') diff --git a/src/newgrf_station.h b/src/newgrf_station.h index 5bd52891b..fa88c4064 100644 --- a/src/newgrf_station.h +++ b/src/newgrf_station.h @@ -21,10 +21,7 @@ enum StationClassID { STAT_CLASS_WAYP, ///< Waypoint class. STAT_CLASS_MAX = 32, ///< Maximum number of classes. }; - -/** Define basic enum properties */ -template <> struct EnumPropsT : MakeEnumPropsT {}; -typedef TinyEnumT StationClassIDByte; +typedef SimpleTinyEnumT StationClassIDByte; /** Allow incrementing of StationClassID variables */ DECLARE_POSTFIX_INCREMENT(StationClassID); -- cgit v1.2.3-54-g00ecf