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:
@@ -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
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user