summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/toolchain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/toolchain.cpp')
-rw-r--r--src/plugins/projectexplorer/toolchain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/toolchain.cpp b/src/plugins/projectexplorer/toolchain.cpp
index fbbc748d8e..4edab3c8b0 100644
--- a/src/plugins/projectexplorer/toolchain.cpp
+++ b/src/plugins/projectexplorer/toolchain.cpp
@@ -325,9 +325,9 @@ void ToolChain::setCompilerCommand(const FilePath &command)
toolChainUpdated();
}
-bool ToolChain::matchesCompilerCommand(const Utils::FilePath &command, const Environment &env) const
+bool ToolChain::matchesCompilerCommand(const FilePath &command) const
{
- return env.isSameExecutable(compilerCommand().toString(), command.toString());
+ return compilerCommand().isSameExecutable(command);
}
void ToolChain::setCompilerCommandKey(const QString &commandKey)