mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 14:31:17 +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;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSPath& FSPath::operator/= (const FSPath & other)
|
FSPath& FSPath::operator/= (const FSPath & rhs)
|
||||||
{
|
{
|
||||||
// todo: implement caching.
|
// todo: implement caching.
|
||||||
|
|
||||||
// explore directories recursively and find the matching cases.
|
// explore directories recursively and find the matching cases.
|
||||||
fs::path relPath = other.relative_path();
|
fs::path relPath = rhs.relative_path();
|
||||||
fs::path correctedPath = empty() ? other.root_path() : *this;
|
fs::path correctedPath = empty() ? rhs.root_path() : *this;
|
||||||
|
|
||||||
// helper function to convert a path's alphabet characters to lowercase.
|
// helper function to convert a path's alphabet characters to lowercase.
|
||||||
auto static lowercase_path = [](fs::path const & path)
|
auto static lowercase_path = [](fs::path const & path)
|
||||||
|
|
|
@ -14,7 +14,7 @@ class FSPath : public fs::path {
|
||||||
{
|
{
|
||||||
return FSPath{} / FSPath{input};
|
return FSPath{} / FSPath{input};
|
||||||
}
|
}
|
||||||
FSPath& operator/= (const FSPath & other);
|
FSPath& operator/= (const FSPath & rhs);
|
||||||
FSPath& operator/ (const FSPath & rhs);
|
FSPath& operator/ (const FSPath & rhs);
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue