forked from qt-creator/qt-creator
Abi: Add operator !=
Reviewed-by: dt
This commit is contained in:
@@ -310,6 +310,11 @@ QString Abi::toString() const
|
|||||||
return dn.join(QLatin1String("-"));
|
return dn.join(QLatin1String("-"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool Abi::operator != (const Abi &other) const
|
||||||
|
{
|
||||||
|
return !operator ==(other);
|
||||||
|
}
|
||||||
|
|
||||||
bool Abi::operator == (const Abi &other) const
|
bool Abi::operator == (const Abi &other) const
|
||||||
{
|
{
|
||||||
return m_architecture == other.m_architecture
|
return m_architecture == other.m_architecture
|
||||||
|
|||||||
@@ -107,6 +107,7 @@ public:
|
|||||||
const OSFlavor &so, const BinaryFormat &f, unsigned char w);
|
const OSFlavor &so, const BinaryFormat &f, unsigned char w);
|
||||||
Abi(const QString &abiString);
|
Abi(const QString &abiString);
|
||||||
|
|
||||||
|
bool operator != (const Abi &other) const;
|
||||||
bool operator == (const Abi &other) const;
|
bool operator == (const Abi &other) const;
|
||||||
bool isCompatibleWith(const Abi &other) const;
|
bool isCompatibleWith(const Abi &other) const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user