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:
Reid Kleckner 2013-04-22 20:58:09 +00:00
parent 10260a75e3
commit 7ff21d934e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {