summaryrefslogtreecommitdiff
path: root/src/depot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/depot.h')
-rw-r--r--src/depot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot.h b/src/depot.h
index 1b3de1b86..70a12d0bc 100644
--- a/src/depot.h
+++ b/src/depot.h
@@ -23,7 +23,7 @@ struct Depot : PoolItem<Depot, DepotID, &_Depot_pool> {
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)