mirror of
https://github.com/onyx-and-iris/aoc2024.git
synced 2026-04-08 18:13:36 +00:00
add factory method newAntiNodeCache()
This commit is contained in:
@@ -13,7 +13,7 @@ type graph struct {
|
||||
}
|
||||
|
||||
func newGraph() *graph {
|
||||
return &graph{[]string{}, []antenna{}, newAntiNodeCache()}
|
||||
return &graph{antinodes: newAntiNodeCache()}
|
||||
}
|
||||
|
||||
func (g *graph) String() string {
|
||||
|
||||
Reference in New Issue
Block a user