From 5b4d841d12bde36adf6ecdcc10af990fbd6b405a Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Thu, 10 Mar 2011 14:43:44 +0100 Subject: [PATCH] Abi: Add operator != Reviewed-by: dt --- src/plugins/projectexplorer/abi.cpp | 5 +++++ src/plugins/projectexplorer/abi.h | 1 + 2 files changed, 6 insertions(+) diff --git a/src/plugins/projectexplorer/abi.cpp b/src/plugins/projectexplorer/abi.cpp index 35899550637..1314bc2a5ac 100644 --- a/src/plugins/projectexplorer/abi.cpp +++ b/src/plugins/projectexplorer/abi.cpp @@ -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 diff --git a/src/plugins/projectexplorer/abi.h b/src/plugins/projectexplorer/abi.h index af162d3fc38..98dbcbb924d 100644 --- a/src/plugins/projectexplorer/abi.h +++ b/src/plugins/projectexplorer/abi.h @@ -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;