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

@@ -22,7 +22,7 @@ void MarkBridgeDirty(TileIndex tile);
* @param end The end of the tunnel or bridge.
* @return length of bridge/tunnel middle
*/
static inline uint GetTunnelBridgeLength(TileIndex begin, TileIndex end)
inline uint GetTunnelBridgeLength(TileIndex begin, TileIndex end)
{
int x1 = TileX(begin);
int y1 = TileY(begin);
@@ -38,7 +38,7 @@ static inline uint GetTunnelBridgeLength(TileIndex begin, TileIndex end)
* @param end The end of the tunnel or bridge.
* @param owner The new owner to set
*/
static inline void SetTunnelBridgeOwner(TileIndex begin, TileIndex end, Owner owner)
inline void SetTunnelBridgeOwner(TileIndex begin, TileIndex end, Owner owner)
{
SetTileOwner(begin, owner);
SetTileOwner(end, owner);