Codechange: replace static inline with static for non-class functions

This commit is contained in:
Rubidium
2024-01-06 12:19:27 +01:00
committed by rubidium42
parent 06a5fa6239
commit 3a676a5af0
87 changed files with 697 additions and 697 deletions

View File

@@ -24,7 +24,7 @@ void DeleteDepotHighlightOfVehicle(const Vehicle *v);
* @param tileh The slope of the tile in question
* @return true if the construction is possible
*/
static inline bool CanBuildDepotByTileh(DiagDirection direction, Slope tileh)
inline bool CanBuildDepotByTileh(DiagDirection direction, Slope tileh)
{
assert(tileh != SLOPE_FLAT);
Slope entrance_corners = InclinedSlope(direction);