Remove the other BaseStation::GetPlatformLength variant
commite92f3725cc29c661102beb4de376185d9c6093d1
authorcirdan <cirdansw@gmail.com>
Sat, 23 Dec 2017 15:11:01 +0000 (23 16:11 +0100)
committercirdan <cirdansw@gmail.com>
Sat, 23 Dec 2017 15:11:01 +0000 (23 16:11 +0100)
treef284661769102137be56116ad6d2ef2961dd8d2d
parent133208c2309e70ca3ca71777e859bbbca2b50669
Remove the other BaseStation::GetPlatformLength variant

Remove the two-parameter BaseStation::GetPlatformLength variant,
adjusting its only call through the base class. Also remove its
override in struct Waypoint and make Station::GetPlatformLength
static while at it.
src/base_station_base.h
src/pathfinder/follow_track.hpp
src/pathfinder/yapf/yapf_rail.cpp
src/station.cpp
src/station_base.h
src/train_cmd.cpp
src/waypoint_base.h