forked from qt-creator/qt-creator
Make compile with MSVC 2012
That compiler doesn't have variadic templates so std::tie takes at most 5 parameters. Change-Id: I9c8b56a3847be54a9cc4a5a356835efd8772ffa7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
@@ -114,8 +114,10 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
inline bool operator ==(const QMakeStepConfig &a, const QMakeStepConfig &b) {
|
inline bool operator ==(const QMakeStepConfig &a, const QMakeStepConfig &b) {
|
||||||
return std::tie(a.archConfig, a.osType, a.linkQmlDebuggingQQ1, a.linkQmlDebuggingQQ2, a.useQtQuickCompiler, a.separateDebugInfo)
|
return std::tie(a.archConfig, a.osType, a.linkQmlDebuggingQQ1, a.linkQmlDebuggingQQ2)
|
||||||
== std::tie(b.archConfig, b.osType, b.linkQmlDebuggingQQ1, b.linkQmlDebuggingQQ2, b.useQtQuickCompiler, b.separateDebugInfo);
|
== std::tie(b.archConfig, b.osType, b.linkQmlDebuggingQQ1, b.linkQmlDebuggingQQ2)
|
||||||
|
&& std::tie(a.useQtQuickCompiler, a.separateDebugInfo)
|
||||||
|
== std::tie(b.useQtQuickCompiler, b.separateDebugInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool operator !=(const QMakeStepConfig &a, const QMakeStepConfig &b) {
|
inline bool operator !=(const QMakeStepConfig &a, const QMakeStepConfig &b) {
|
||||||
|
Reference in New Issue
Block a user