Minor fixes

This commit is contained in:
Michał Janiszewski authored and Michael Steenbeek committed 2018-05-11 15:38:30 +02:00
1 parent cb162edcfe
commit 0a92e74ced
30 files changed
+70 -101

No files matched your search

+2 -2
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
{