Fix clang-tidy warnings (detected by clang-tidy-18)

This commit is contained in:
Eduardo Almeida
2023-09-17 22:10:09 +00:00
parent aedd34ca8f
commit 1ae0d7ea22
5 changed files with 8 additions and 12 deletions

View File

@@ -51,7 +51,7 @@ PathSplit(std::string str)
}
str = str.substr(cutAt + 1);
}
if (str.length() > 0)
if (!str.empty())
{
results.push_back(str);
}