clang-tidy: use '' for find

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2022-07-07 18:16:11 -07:00
parent 4544fd826c
commit 543c951bde

View File

@ -378,7 +378,7 @@ std::string getProcessPath() {
ret = std::filesystem::read_symlink("/proc/self/exe");
#endif
const size_t idxLastSeparator = ret.find_last_of(EXV_SEPARATOR_STR);
const size_t idxLastSeparator = ret.find_last_of(EXV_SEPARATOR_CHR);
return ret.substr(0, idxLastSeparator);
}
} // namespace Exiv2