mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-10 01:24:41 -06:00
consistent naming in header.
This commit is contained in:
parent
97a74a32da
commit
b5153a6689
@ -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…
Reference in New Issue
Block a user