mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 20:43:04 +01:00
Minor fixes
This commit is contained in:
committed by
Michael Steenbeek
parent
cb162edcfe
commit
0a92e74ced
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user