mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
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:
parent
aefedb14c9
commit
19b494ba1e
1 changed files with 1 additions and 3 deletions
|
@ -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_);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue