src/depot.h
changeset 7992 8ac3fcd8d570
parent 7885 4eb9b01e37ff
child 8008 82de75c83c3e
--- a/src/depot.h	Thu Aug 30 19:20:15 2007 +0000
+++ b/src/depot.h	Thu Aug 30 20:40:33 2007 +0000
@@ -23,7 +23,7 @@
 	Depot(TileIndex xy = 0) : xy(xy) {}
 	~Depot();
 
-	bool IsValid() const { return this->xy != 0; }
+	inline bool IsValid() const { return this->xy != 0; }
 };
 
 static inline bool IsValidDepotID(DepotID index)