1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples: fix const name warnings due to gx.White, etc...

This commit is contained in:
Delyan Angelov
2020-05-22 20:00:46 +03:00
parent acb58a1f98
commit 104359365f
5 changed files with 17 additions and 27 deletions

View File

@@ -56,7 +56,7 @@ fn new_automaton(f [][]int) Automaton {
return Automaton{ field: field new_field: new_field }
}
pub fn (aa mut Automaton) update() {
pub fn (mut aa Automaton) update() {
aa.new_field.clear()
for y := 1; y<aa.field.maxy; y++ {
for x := 1; x<aa.field.maxx; x++ {