(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise out some indirect calls

This commit is contained in:
smatz
2011-12-18 17:17:18 +00:00
parent 7c5545dd3b
commit 36747f96a6
12 changed files with 19 additions and 12 deletions

View File

@@ -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)
/**