forked from mirror/OpenTTD
(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise out some indirect calls
This commit is contained in:
@@ -197,7 +197,7 @@ private:
|
||||
typedef SmallVector<Industry *, 2> IndustryVector;
|
||||
|
||||
/** Station data structure */
|
||||
struct Station : SpecializedStation<Station, false> {
|
||||
struct Station FINAL : SpecializedStation<Station, false> {
|
||||
public:
|
||||
RoadStop *GetPrimaryRoadStop(RoadStopType type) const
|
||||
{
|
||||
|
Reference in New Issue
Block a user