Skip to content

Commit

Permalink
rearrange Table struct, see go/issues/9401
Browse files Browse the repository at this point in the history
  • Loading branch information
gaissmai committed Jan 26, 2025
1 parent e7edf58 commit 9374ce0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions table.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ import (
//
// A Table must not be copied by value, see [Table.Clone].
type Table[V any] struct {
// used by -copylocks checker from `go vet`.
_ noCopy

// the root nodes, implemented as popcount compressed multibit tries
root4 node[V]
root6 node[V]

// the number of prefixes in the routing table
size4 int
size6 int

// used by -copylocks checker from `go vet`.
_ noCopy
}

// rootNodeByVersion, root node getter for ip version.
Expand Down

0 comments on commit 9374ce0

Please sign in to comment.