(svn r11396) -Fix: GCC 3.3 doesn't like 'static bool inline', should of course be 'static inline bool' (SmatZ)
authortruelight
Fri, 09 Nov 2007 11:22:17 +0000
changeset 7846 98f7b9595aab
parent 7845 4e5c90c389ca
child 7847 76271a2885d5
(svn r11396) -Fix: GCC 3.3 doesn't like 'static bool inline', should of course be 'static inline bool' (SmatZ)
src/vehicle_gui.cpp
--- a/src/vehicle_gui.cpp	Fri Nov 09 11:20:36 2007 +0000
+++ b/src/vehicle_gui.cpp	Fri Nov 09 11:22:17 2007 +0000
@@ -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();