CMakeCbpParser: Small cleanups

* Do follow-up fixes to CMakeTool

Change-Id: Ia3c587acb85d613499e91988200d8bbae32eca3d
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2016-02-12 12:30:55 +01:00
parent e868357107
commit d400959d7e
4 changed files with 21 additions and 13 deletions

View File

@@ -37,7 +37,7 @@
#include <QUuid>
#include <QVariantMap>
using namespace CMakeProjectManager;
namespace CMakeProjectManager {
const char CMAKE_INFORMATION_ID[] = "Id";
const char CMAKE_INFORMATION_COMMAND[] = "Binary";
@@ -223,7 +223,7 @@ void CMakeTool::setPathMapper(const CMakeTool::PathMapper &pathMapper)
m_pathMapper = pathMapper;
}
QString CMakeTool::mapAllPaths(ProjectExplorer::Kit *kit, const QString &in) const
QString CMakeTool::mapAllPaths(const ProjectExplorer::Kit *kit, const QString &in) const
{
if (m_pathMapper)
return m_pathMapper(kit, in);
@@ -318,3 +318,5 @@ QStringList CMakeTool::parseVariableOutput(const QString &output)
}
return result;
}
} // namespace CMakeProjectManager