forked from qt-creator/qt-creator
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:
@@ -63,8 +63,7 @@ public:
|
|||||||
using FindMacro = std::function<int(const QString &str, int *pos, QString *ret)>;
|
using FindMacro = std::function<int(const QString &str, int *pos, QString *ret)>;
|
||||||
|
|
||||||
//! Safely replace the expandos in a shell command
|
//! Safely replace the expandos in a shell command
|
||||||
static bool expandMacros(
|
static bool expandMacros(QString *cmd, const FindMacro &findMacro, OsType osType);
|
||||||
QString *cmd, const FindMacro &findMacro, OsType osType = HostOsInfo::hostOs());
|
|
||||||
|
|
||||||
/*! Iterate over arguments from a command line.
|
/*! Iterate over arguments from a command line.
|
||||||
* Assumes that the name of the actual command is *not* part of the line.
|
* Assumes that the name of the actual command is *not* part of the line.
|
||||||
|
Reference in New Issue
Block a user