From 1d513ecd06a0841cf55fb41a2a2a8696608ac4c5 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 20 Feb 2020 13:29:54 +0100 Subject: [PATCH] ProjectExplorer: Fix compile for gcc 5.3 Change-Id: I52d8b5d33d5d04e52749b755a61b36a9f4b573b9 Reviewed-by: hjk --- src/plugins/projectexplorer/buildstep.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)