summaryrefslogtreecommitdiff
path: root/src/waypoint_base.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2011-12-18 17:17:18 +0000
committersmatz <smatz@openttd.org>2011-12-18 17:17:18 +0000
commit33d283fdb1710e40cff4daaabde6aa78325d4623 (patch)
tree474b5ad5f9b38019a1985a4b1a29ada6a7560260 /src/waypoint_base.h
parent88f1acd26bb2d7872526e4abc89549f622bb75ea (diff)
downloadopenttd-33d283fdb1710e40cff4daaabde6aa78325d4623.tar.xz
(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise out some indirect calls
Diffstat (limited to 'src/waypoint_base.h')
-rw-r--r--src/waypoint_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint_base.h b/src/waypoint_base.h
index 7265384d9..01c0ae173 100644
--- a/src/waypoint_base.h
+++ b/src/waypoint_base.h
@@ -15,7 +15,7 @@
#include "base_station_base.h"
/** Representation of a waypoint. */
-struct Waypoint : SpecializedStation<Waypoint, true> {
+struct Waypoint FINAL : SpecializedStation<Waypoint, true> {
uint16 town_cn; ///< The N-1th waypoint for this town (consecutive number)
/**