Mercurial > hg > openttd
changeset 7846:08a7f7120fc5 draft
(svn r11396) -Fix: GCC 3.3 doesn't like 'static bool inline', should of course be 'static inline bool' (SmatZ)
author | truelight <truelight@openttd.org> |
---|---|
date | Fri, 09 Nov 2007 11:22:17 +0000 |
parents | 469ee079ee16 |
children | 066ed17e3036 |
files | src/vehicle_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1415,7 +1415,7 @@ } /** Checks whether service interval is enabled for the vehicle. */ -static bool inline IsVehicleServiceIntervalEnabled(const VehicleType vehicle_type) +static inline bool IsVehicleServiceIntervalEnabled(const VehicleType vehicle_type) { switch (vehicle_type) { default: NOT_REACHED();