From 2493626f2106f4d566b4dbc82480a731ec37a755 Mon Sep 17 00:00:00 2001 From: truelight Date: Fri, 9 Nov 2007 11:22:17 +0000 Subject: (svn r11396) -Fix: GCC 3.3 doesn't like 'static bool inline', should of course be 'static inline bool' (SmatZ) --- src/vehicle_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 6d0f0f85f..43986f575 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1415,7 +1415,7 @@ void CreateVehicleDetailsWindow(Window *w) } /** 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(); -- cgit v1.2.3-70-g09d2