clang-tidy: use '' for find
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
4544fd826c
commit
543c951bde
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user