gcc doesn't like sending a temporary string object by reference
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4158 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0deba887fc
commit
3824ddf262
1 changed files with 2 additions and 1 deletions
|
@ -441,7 +441,8 @@ int main(int argc, char **argv)
|
|||
}
|
||||
if (do_cd)
|
||||
{
|
||||
if (change_to_script_dir(build, string(sfile)))
|
||||
string script_file = string(sfile);
|
||||
if (change_to_script_dir(build, script_file))
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue