mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 06:21:19 +12:00
consistent naming in header.
This commit is contained in:
parent
97a74a32da
commit
b5153a6689
2 changed files with 4 additions and 4 deletions
|
@ -14,13 +14,13 @@ FSPath& FSPath::operator/ (const FSPath & rhs)
|
|||
return *this;
|
||||
}
|
||||
|
||||
FSPath& FSPath::operator/= (const FSPath & other)
|
||||
FSPath& FSPath::operator/= (const FSPath & rhs)
|
||||
{
|
||||
// todo: implement caching.
|
||||
|
||||
// explore directories recursively and find the matching cases.
|
||||
fs::path relPath = other.relative_path();
|
||||
fs::path correctedPath = empty() ? other.root_path() : *this;
|
||||
fs::path relPath = rhs.relative_path();
|
||||
fs::path correctedPath = empty() ? rhs.root_path() : *this;
|
||||
|
||||
// helper function to convert a path's alphabet characters to lowercase.
|
||||
auto static lowercase_path = [](fs::path const & path)
|
||||
|
|
|
@ -14,7 +14,7 @@ class FSPath : public fs::path {
|
|||
{
|
||||
return FSPath{} / FSPath{input};
|
||||
}
|
||||
FSPath& operator/= (const FSPath & other);
|
||||
FSPath& operator/= (const FSPath & rhs);
|
||||
FSPath& operator/ (const FSPath & rhs);
|
||||
#endif
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue