remove QueryTermRef from Allocator

This commit is contained in:
Mark Thom
2017-11-11 17:00:10 -07:00
parent e503e312a1
commit 498389e9e9
4 changed files with 13 additions and 13 deletions

View File

@@ -348,8 +348,8 @@ impl<'a> Allocator<'a> for DebrayAllocator<'a>
self.bindings
}
fn advance(&mut self, _: GenContext, term: QueryTermRef<'a>) {
fn advance(&mut self, _: GenContext, arity: usize) {
self.arg_c = 1;
self.temp_lb = term.arity() + 1;
self.temp_lb = arity + 1;
}
}