diff options
Diffstat (limited to 'src/ClashAvoider.cpp')
-rw-r--r-- | src/ClashAvoider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClashAvoider.cpp b/src/ClashAvoider.cpp index 1c1e4db1..83aefddd 100644 --- a/src/ClashAvoider.cpp +++ b/src/ClashAvoider.cpp @@ -99,7 +99,7 @@ ClashAvoider::map_path(const Raul::Path& in) offset = ++o->second; } else { std::string parent_str = in.parent().base(); - parent_str = parent_str.substr(0, parent_str.find_last_of("/")); + parent_str = parent_str.substr(0, parent_str.find_last_of('/')); if (parent_str.empty()) { parent_str = "/"; } |