From cd35434c651b16a52a6bc44255adf8edb562ad07 Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 21 Oct 2024 14:07:56 +0200 Subject: [PATCH] Utils: Remove default argument for ProcessArgs::expandMacros() We know the right OS when calling this. Change-Id: I3d1e961107f14c8217052babdd6c88cec12568e0 Reviewed-by: Marcus Tillmanns --- src/libs/utils/commandline.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libs/utils/commandline.h b/src/libs/utils/commandline.h index 84a32384efb..78f756a9f61 100644 --- a/src/libs/utils/commandline.h +++ b/src/libs/utils/commandline.h @@ -63,8 +63,7 @@ public: using FindMacro = std::function; //! Safely replace the expandos in a shell command - static bool expandMacros( - QString *cmd, const FindMacro &findMacro, OsType osType = HostOsInfo::hostOs()); + static bool expandMacros(QString *cmd, const FindMacro &findMacro, OsType osType); /*! Iterate over arguments from a command line. * Assumes that the name of the actual command is *not* part of the line.