diff options
author | Reid Kleckner <reid@kleckner.net> | 2013-04-22 20:58:09 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2013-04-22 20:58:09 +0000 |
commit | 0af5493701f9982d7451c8b3c1b7699cc84ac94c (patch) | |
tree | f848c17e3ae3d7bd8495ab1c88d4dbfc660b3e9d /unittests | |
parent | c9090b0723bdbeba65dc6b4771ca166e4a99a9cc (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180046 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rwxr-xr-x | unittests/Support/ProgramTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Support/ProgramTest.cpp b/unittests/Support/ProgramTest.cpp index 479b6b57ec..9dd9ccd11b 100755 --- a/unittests/Support/ProgramTest.cpp +++ b/unittests/Support/ProgramTest.cpp @@ -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) { |