diff options
Diffstat (limited to 'src/depot_base.h')
-rw-r--r-- | src/depot_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/depot_base.h b/src/depot_base.h index 04957c8cb..e5eb3b622 100644 --- a/src/depot_base.h +++ b/src/depot_base.h @@ -29,7 +29,7 @@ struct Depot : DepotPool::PoolItem<&_depot_pool> { Depot(TileIndex xy = INVALID_TILE) : xy(xy) {} ~Depot(); - static FORCEINLINE Depot *GetByTile(TileIndex tile) + static inline Depot *GetByTile(TileIndex tile) { return Depot::Get(GetDepotIndex(tile)); } @@ -40,7 +40,7 @@ struct Depot : DepotPool::PoolItem<&_depot_pool> { * @param d The depot to compare to. * @return true iff their types are equal. */ - FORCEINLINE bool IsOfType(const Depot *d) const + inline bool IsOfType(const Depot *d) const { return GetTileType(d->xy) == GetTileType(this->xy); } |