diff options
Diffstat (limited to 'src/shared/ClashAvoider.cpp')
-rw-r--r-- | src/shared/ClashAvoider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp index a3e54957..c6aec06d 100644 --- a/src/shared/ClashAvoider.cpp +++ b/src/shared/ClashAvoider.cpp @@ -97,7 +97,7 @@ ClashAvoider::map_path(const Raul::Path& in) } else { string parent_str = in.parent().base(); parent_str = parent_str.substr(0, parent_str.find_last_of("/")); - if (parent_str == "") + if (parent_str.empty()) parent_str = "/"; debug << "PARENT: " << parent_str << endl; } |