From 430a33dcd9ac80ddb848e41f8f059102857c88aa Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 26 Jun 2020 13:59:38 +0200 Subject: Core/Utils: Migrate further to Utils::Id The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 Reviewed-by: Christian Kandeler --- src/plugins/cppcheck/cppcheckplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/cppcheck/cppcheckplugin.cpp') diff --git a/src/plugins/cppcheck/cppcheckplugin.cpp b/src/plugins/cppcheck/cppcheckplugin.cpp index 4bbab6a4de..6d338a1df3 100644 --- a/src/plugins/cppcheck/cppcheckplugin.cpp +++ b/src/plugins/cppcheck/cppcheckplugin.cpp @@ -145,7 +145,7 @@ void CppcheckPluginPrivate::updateManualRunAction() using namespace ProjectExplorer; const Project *project = SessionManager::startupProject(); const Target *target = SessionManager::startupTarget(); - const Core::Id cxx = ProjectExplorer::Constants::CXX_LANGUAGE_ID; + const Utils::Id cxx = ProjectExplorer::Constants::CXX_LANGUAGE_ID; const bool canRun = target && project->projectLanguages().contains(cxx) && ToolChainKitAspect::cxxToolChain(target->kit()); manualRunAction->setEnabled(canRun); -- cgit v1.2.1