Moved total_disc from Track to Release

This commit is contained in:
emeric
2023-03-06 23:10:31 +01:00
parent 422458821f
commit 3a9bde0092
18 changed files with 377 additions and 320 deletions
+2 -2
View File
@@ -132,10 +132,10 @@ stringTrim(std::string_view str, std::string_view whitespaces)
return res;
}
std::string
std::string_view
stringTrimEnd(std::string_view str, std::string_view whitespaces)
{
return std::string {str.substr(0, str.find_last_not_of(whitespaces) + 1)};
return str.substr(0, str.find_last_not_of(whitespaces) + 1);
}
std::string