1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00

Mark classes as final to help devirtualisation

This commit is contained in:
Michał Janiszewski
2017-01-13 12:12:50 +01:00
parent 85c6ed778b
commit 0a36af19e4
13 changed files with 17 additions and 17 deletions

View File

@@ -63,7 +63,7 @@ enum TRACK_REPO_ITEM_FLAGS
TRIF_READ_ONLY = (1 << 0),
};
class TrackDesignRepository : public ITrackDesignRepository
class TrackDesignRepository final : public ITrackDesignRepository
{
private:
static constexpr const utf8 * TD_FILE_PATTERN = "*.td4;*.td6";
@@ -81,7 +81,7 @@ public:
_env = env;
}
virtual ~TrackDesignRepository()
virtual ~TrackDesignRepository() final
{
}