diff --git a/src/plugins/projectexplorer/buildstep.cpp b/src/plugins/projectexplorer/buildstep.cpp index 4c9a78f9df2..67d45fbcd54 100644 --- a/src/plugins/projectexplorer/buildstep.cpp +++ b/src/plugins/projectexplorer/buildstep.cpp @@ -250,8 +250,8 @@ Utils::MacroExpander *BuildStep::macroExpander() const QString BuildStep::fallbackWorkingDirectory() const { if (auto bc = buildConfiguration()) - return Constants::DEFAULT_WORKING_DIR; - return Constants::DEFAULT_WORKING_DIR_ALTERNATE; + return {Constants::DEFAULT_WORKING_DIR}; + return {Constants::DEFAULT_WORKING_DIR_ALTERNATE}; } void BuildStep::reportRunResult(QFutureInterface &fi, bool success)