move cmp to where it's used

This commit is contained in:
ben hockey 2015-05-27 16:50:54 -05:00
parent 680bb244d2
commit 678c7c843a
2 changed files with 4 additions and 4 deletions

View file

@ -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
}