forked from OSchip/llvm-project
Add a missing reference on a std::vector<> out param
Pointed out by Eli. The test passes for me either way, so I missed this. llvm-svn: 180046
This commit is contained in:
parent
10260a75e3
commit
7ff21d934e
|
@ -24,7 +24,7 @@ ProgramTestStringArg1("program-test-string-arg1");
|
|||
static cl::opt<std::string>
|
||||
ProgramTestStringArg2("program-test-string-arg2");
|
||||
|
||||
static void CopyEnvironment(std::vector<const char *> out) {
|
||||
static void CopyEnvironment(std::vector<const char *> &out) {
|
||||
// environ appears to be pretty portable.
|
||||
char **envp = environ;
|
||||
while (*envp != 0) {
|
||||
|
|
Loading…
Reference in New Issue