mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 08:48:07 -06:00
Use default operators generated/synthesized by compiler
This commit is contained in:
@@ -167,11 +167,6 @@ namespace RSS
|
||||
return (left.m_dataPtr == right.m_dataPtr) // optimization
|
||||
|| (*(left.m_dataPtr) == *(right.m_dataPtr));
|
||||
}
|
||||
|
||||
bool operator!=(const AutoDownloadRule &left, const AutoDownloadRule &right)
|
||||
{
|
||||
return !(left == right);
|
||||
}
|
||||
}
|
||||
|
||||
using namespace RSS;
|
||||
|
||||
@@ -108,6 +108,4 @@ namespace RSS
|
||||
|
||||
QSharedDataPointer<AutoDownloadRuleData> m_dataPtr;
|
||||
};
|
||||
|
||||
bool operator!=(const AutoDownloadRule &left, const AutoDownloadRule &right);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user