# HG changeset patch # User Charles Pigott # Date 2019-04-22 10:14:42 # Node ID 1cd02c6f1d6aa8cdf5afeb2fb5e85df7ce1d35db # Parent 26fe843cbb90f21a75172325c6769457ac31e7ef Codechange: Remove RoadTypesByte diff --git a/src/road_type.h b/src/road_type.h --- a/src/road_type.h +++ b/src/road_type.h @@ -33,7 +33,7 @@ template <> struct EnumPropsT * The different roadtypes we support, but then a bitmask of them * @note currently only roadtypes with ROADTYPE_ROAD and ROADTYPE_TRAM are supported. */ -enum RoadTypes { +enum RoadTypes : byte { ROADTYPES_NONE = 0, ///< No roadtypes ROADTYPES_ROAD = 1 << ROADTYPE_ROAD, ///< Road ROADTYPES_TRAM = 1 << ROADTYPE_TRAM, ///< Trams @@ -43,7 +43,6 @@ enum RoadTypes { }; DECLARE_ENUM_AS_BIT_SET(RoadTypes) template <> struct EnumPropsT : MakeEnumPropsT {}; -typedef SimpleTinyEnumT RoadTypesByte; /**