1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00

Minor fixes

This commit is contained in:
Michał Janiszewski
2017-12-03 23:45:43 +01:00
committed by Michael Steenbeek
parent cb162edcfe
commit 0a92e74ced
30 changed files with 70 additions and 101 deletions

View File

@@ -54,7 +54,7 @@ std::string GetNameFromTrackPath(const std::string &path)
{
std::string name = Path::GetFileNameWithoutExtension(path);
//The track name should be the file name until the first instance of a dot
name = name.substr(0, name.find_first_of("."));
name = name.substr(0, name.find_first_of('.'));
return name;
}
@@ -149,7 +149,7 @@ public:
Guard::ArgumentNotNull(env);
}
~TrackDesignRepository() = default;
~TrackDesignRepository() override = default;
size_t GetCount() const override
{