From e2972a74a6fc6e20d416351ba61447c54929e211 Mon Sep 17 00:00:00 2001 From: dt <qtc-committer@nokia.com> Date: Mon, 22 Jun 2009 12:45:07 +0200 Subject: [PATCH] Fix bug in Toolchain::equals(), removing unecessary toolchain creations This will result in a speedup. --- src/plugins/projectexplorer/toolchain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/toolchain.cpp b/src/plugins/projectexplorer/toolchain.cpp index d82de6c84fa..db9cc517c26 100644 --- a/src/plugins/projectexplorer/toolchain.cpp +++ b/src/plugins/projectexplorer/toolchain.cpp @@ -55,7 +55,7 @@ bool ToolChain::equals(ToolChain *a, ToolChain *b) if (a == 0 || b == 0) return false; if (a->type() == b->type()) - a->equals(b); + return a->equals(b); return false; } -- GitLab