move cmp to where it's used
This commit is contained in:
parent
680bb244d2
commit
678c7c843a
2 changed files with 4 additions and 4 deletions
|
|
@ -35,6 +35,10 @@ func init() {
|
|||
}, nil, nil)
|
||||
}
|
||||
|
||||
func cmp(a, b int64) int {
|
||||
return int(a - b)
|
||||
}
|
||||
|
||||
type QuadDirectionIndex struct {
|
||||
index [4]map[int64]*b.Tree
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue