# HG changeset patch # User truelight # Date 1194607337 0 # Node ID 08a7f7120fc50de97c9e5df4c322845a0fdd4bfd # Parent 469ee079ee1629bb93ec6bedb893d7b5d80f37b6 (svn r11396) -Fix: GCC 3.3 doesn't like 'static bool inline', should of course be 'static inline bool' (SmatZ) diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp --- 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();