Utils: Remove default argument for ProcessArgs::expandMacros()

We know the right OS when calling this.

Change-Id: I3d1e961107f14c8217052babdd6c88cec12568e0
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
hjk
2024-10-21 14:07:56 +02:00
parent 67f4a720a8
commit cd35434c65

View File

@@ -63,8 +63,7 @@ public:
using FindMacro = std::function<int(const QString &str, int *pos, QString *ret)>;
//! 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.