mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 05:31:25 -07:00
Make Path::operator== a free function
This commit is contained in:
parent
4cb075b168
commit
610009fb7f
2 changed files with 2 additions and 2 deletions
|
@ -272,7 +272,7 @@ Path Path::createUnchecked(const QString &pathStr)
|
|||
|
||||
bool operator==(const Path &lhs, const Path &rhs)
|
||||
{
|
||||
return (lhs.m_pathStr.compare(rhs.m_pathStr, CASE_SENSITIVITY) == 0);
|
||||
return (lhs.data().compare(rhs.data(), CASE_SENSITIVITY) == 0);
|
||||
}
|
||||
|
||||
bool operator!=(const Path &lhs, const Path &rhs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue