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 99fc6ba48a
commit 0f05998295
2 changed files with 13 additions and 13 deletions

View File

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