Commit 5b4d841d authored by Tobias Hunger's avatar Tobias Hunger

Abi: Add operator !=

Reviewed-by: dt
parent f4ca6959
......@@ -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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment