summaryrefslogtreecommitdiff
path: root/Source/cmExecProgramCommand.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-05-19 10:30:00 -0400
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-05-19 10:33:26 -0400
commit273257222ee6207dcb9ad290a08db5d6b7cc9db8 (patch)
tree0cc1b5bc33298f556f4438ba04dc689a9f4c09d1 /Source/cmExecProgramCommand.h
parent7024fe33b8ea1d1fba3bf881f8c530688107c505 (diff)
downloadcmake-273257222ee6207dcb9ad290a08db5d6b7cc9db8.tar.gz
Source: change parameters to std::string
Diffstat (limited to 'Source/cmExecProgramCommand.h')
-rw-r--r--Source/cmExecProgramCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExecProgramCommand.h b/Source/cmExecProgramCommand.h
index dc5da740df..ae0fa9b843 100644
--- a/Source/cmExecProgramCommand.h
+++ b/Source/cmExecProgramCommand.h
@@ -37,7 +37,7 @@ public:
cmExecutionStatus& status) override;
private:
- static bool RunCommand(const char* command, std::string& output, int& retVal,
+ static bool RunCommand(std::string command, std::string& output, int& retVal,
const char* directory = nullptr, bool verbose = true,
Encoding encoding = cmProcessOutput::Auto);
};