Fix clang-tidy warnings (detected by clang-tidy-18)
This commit is contained in:
@@ -51,7 +51,7 @@ PathSplit(std::string str)
|
||||
}
|
||||
str = str.substr(cutAt + 1);
|
||||
}
|
||||
if (str.length() > 0)
|
||||
if (!str.empty())
|
||||
{
|
||||
results.push_back(str);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user