diff --git a/Common/File/Path.cpp b/Common/File/Path.cpp index e14725531d..7105a66307 100644 --- a/Common/File/Path.cpp +++ b/Common/File/Path.cpp @@ -84,9 +84,7 @@ Path Path::operator /(const std::string &subdir) const { } // Direct string manipulation. - if (path_.empty()) { - return Path(subdir); - } + if (subdir.empty()) { return Path(path_); }