Fix some lint warnings

This commit is contained in:
2023-07-29 20:20:38 +02:00
parent 9a0449c12d
commit 5efa3beaee
7 changed files with 33 additions and 40 deletions

View File

@@ -40,7 +40,7 @@ namespace platform {
string Models::toString()
{
string result = "";
for (auto& pair : functionRegistry) {
for (const auto& pair : functionRegistry) {
result += pair.first + ", ";
}
return "{" + result.substr(0, result.size() - 2) + "}";