forked from qt-creator/qt-creator
QMakeProjectManager: Use more common operator==() implementation
Change-Id: I623b49b92913e2f813554b664b3c79683c3a35cf Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -12,8 +12,6 @@
|
||||
#include <utils/commandline.h>
|
||||
#include <utils/guard.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
@@ -50,10 +48,10 @@ public:
|
||||
|
||||
friend bool operator==(const QMakeStepConfig &a, const QMakeStepConfig &b)
|
||||
{
|
||||
return std::tie(a.osType, a.linkQmlDebuggingQQ2)
|
||||
== std::tie(b.osType, b.linkQmlDebuggingQQ2)
|
||||
&& std::tie(a.useQtQuickCompiler, a.separateDebugInfo)
|
||||
== std::tie(b.useQtQuickCompiler, b.separateDebugInfo);
|
||||
return a.osType == b.osType
|
||||
&& a.linkQmlDebuggingQQ2 == b.linkQmlDebuggingQQ2
|
||||
&& a.useQtQuickCompiler == b.useQtQuickCompiler
|
||||
&& a.separateDebugInfo == b.separateDebugInfo;
|
||||
}
|
||||
|
||||
friend bool operator!=(const QMakeStepConfig &a, const QMakeStepConfig &b) { return !(a == b); }
|
||||
|
||||
Reference in New Issue
Block a user