Abi: Add operator !=

Reviewed-by: dt
This commit is contained in:
Tobias Hunger
2011-03-10 14:43:44 +01:00
parent f4ca6959c4
commit 5b4d841d12
2 changed files with 6 additions and 0 deletions

View File

@@ -310,6 +310,11 @@ QString Abi::toString() const
return dn.join(QLatin1String("-"));
}
bool Abi::operator != (const Abi &other) const
{
return !operator ==(other);
}
bool Abi::operator == (const Abi &other) const
{
return m_architecture == other.m_architecture

View File

@@ -107,6 +107,7 @@ public:
const OSFlavor &so, const BinaryFormat &f, unsigned char w);
Abi(const QString &abiString);
bool operator != (const Abi &other) const;
bool operator == (const Abi &other) const;
bool isCompatibleWith(const Abi &other) const;