diff --git a/src/plugins/cmakeprojectmanager/presetsparser.cpp b/src/plugins/cmakeprojectmanager/presetsparser.cpp index 429c8958694..9a56e5e5a04 100644 --- a/src/plugins/cmakeprojectmanager/presetsparser.cpp +++ b/src/plugins/cmakeprojectmanager/presetsparser.cpp @@ -365,9 +365,9 @@ bool parseConfigurePresets(const QJsonValue &jsonValue, return true; } -bool parseBuildPresets(const QJsonValue &jsonValue, - QList &buildPresets, - const Utils::FilePath &fileDir) +static bool parseBuildPresets(const QJsonValue &jsonValue, + QList &buildPresets, + const FilePath &fileDir) { // The whole section is optional if (jsonValue.isUndefined()) @@ -470,7 +470,7 @@ const PresetsData &PresetsParser::presetsData() const return m_presetsData; } -bool PresetsParser::parse(const Utils::FilePath &jsonFile, QString &errorMessage, int &errorLine) +bool PresetsParser::parse(const FilePath &jsonFile, QString &errorMessage, int &errorLine) { const Utils::expected_str jsonContents = jsonFile.fileContents(); if (!jsonContents) {