mirror of
https://github.com/vlang/v.git
synced 2025-09-14 15:02:33 +03:00
make function arguments immutable
This commit is contained in:
parent
74dbb1bce3
commit
0f0ed8d716
8 changed files with 42 additions and 33 deletions
|
@ -418,7 +418,7 @@ string _STR_TMP(const char *fmt, ...) {
|
|||
}
|
||||
}
|
||||
|
||||
fn (c &V) cc_windows_cross() {
|
||||
fn (c mut V) cc_windows_cross() {
|
||||
if !c.out_name.ends_with('.exe') {
|
||||
c.out_name = c.out_name + '.exe'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue