forked from qt-creator/qt-creator
Fix bug in Toolchain::equals(), removing unecessary toolchain creations
This will result in a speedup.
This commit is contained in:
@@ -55,7 +55,7 @@ bool ToolChain::equals(ToolChain *a, ToolChain *b)
|
|||||||
if (a == 0 || b == 0)
|
if (a == 0 || b == 0)
|
||||||
return false;
|
return false;
|
||||||
if (a->type() == b->type())
|
if (a->type() == b->type())
|
||||||
a->equals(b);
|
return a->equals(b);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user