diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 6d0f0f85fd..43986f5758 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();