aboutsummaryrefslogtreecommitdiff
path: root/commitquery/node.go
diff options
context:
space:
mode:
Diffstat (limited to 'commitquery/node.go')
-rw-r--r--commitquery/node.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commitquery/node.go b/commitquery/node.go
index c0f25c55..d5f1d3cd 100644
--- a/commitquery/node.go
+++ b/commitquery/node.go
@@ -28,7 +28,7 @@ type node struct {
}
// newNode allocates one empty internal node.
-func (query *Query) newNode(id objectid.ObjectID) nodeIndex {
+func (query *query) newNode(id objectid.ObjectID) nodeIndex {
count := len(query.nodes)
idx := nodeIndex(count)