aboutsummaryrefslogtreecommitdiff
path: root/unittests/Support
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-04-22 20:58:09 +0000
committerReid Kleckner <reid@kleckner.net>2013-04-22 20:58:09 +0000
commit0af5493701f9982d7451c8b3c1b7699cc84ac94c (patch)
treef848c17e3ae3d7bd8495ab1c88d4dbfc660b3e9d /unittests/Support
parentc9090b0723bdbeba65dc6b4771ca166e4a99a9cc (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/Support')
-rwxr-xr-xunittests/Support/ProgramTest.cpp2
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) {