mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Make Path::operator== a free function
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user