Revert "Path: If a Path is empty, the slash operator will not add an additional slash."

This reverts commit 864b2bbb31.
This commit is contained in:
Henrik Rydgård 2023-06-27 23:31:59 +02:00
parent aefedb14c9
commit 19b494ba1e

View file

@ -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_);
}