Codechange: replace static inline with static for non-class functions
This commit is contained in:
@@ -55,7 +55,7 @@ Train *GetTrainForReservation(TileIndex tile, Track track);
|
||||
* @param tracks the tracks to test
|
||||
* @return true if at least on of tracks is reserved
|
||||
*/
|
||||
static inline bool HasReservedTracks(TileIndex tile, TrackBits tracks)
|
||||
inline bool HasReservedTracks(TileIndex tile, TrackBits tracks)
|
||||
{
|
||||
return (GetReservedTrackbits(tile) & tracks) != TRACK_BIT_NONE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user