Changed type of maze in SolvedMaze to pointer, to

not copy the entire maze by value
This commit is contained in:
Karma Riuk
2023-08-10 10:30:37 +02:00
parent bd8165e47f
commit d1d3ed1c73
2 changed files with 13 additions and 13 deletions
io/writer
maze

@ -48,6 +48,6 @@ type Maze struct {
}
type SolvedMaze struct {
Maze
*Maze
Solution []*Node
}