Use default operators generated/synthesized by compiler

This commit is contained in:
Chocobo1
2022-04-02 13:34:52 +08:00
parent 10ee1ab7a2
commit 7612d5d0ef
15 changed files with 4 additions and 76 deletions

View File

@@ -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;

View File

@@ -108,6 +108,4 @@ namespace RSS
QSharedDataPointer<AutoDownloadRuleData> m_dataPtr;
};
bool operator!=(const AutoDownloadRule &left, const AutoDownloadRule &right);
}