diff options
author | smatz <smatz@openttd.org> | 2011-12-18 17:17:18 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2011-12-18 17:17:18 +0000 |
commit | 33d283fdb1710e40cff4daaabde6aa78325d4623 (patch) | |
tree | 474b5ad5f9b38019a1985a4b1a29ada6a7560260 /src/station_base.h | |
parent | 88f1acd26bb2d7872526e4abc89549f622bb75ea (diff) | |
download | openttd-33d283fdb1710e40cff4daaabde6aa78325d4623.tar.xz |
(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise out some indirect calls
Diffstat (limited to 'src/station_base.h')
-rw-r--r-- | src/station_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_base.h b/src/station_base.h index 5ec337f56..a495f1691 100644 --- a/src/station_base.h +++ b/src/station_base.h @@ -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 { |