mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
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
This commit is contained in:
parent
c9090b0723
commit
0af5493701
@ -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…
x
Reference in New Issue
Block a user