Fix Err fallout for graph/iterator.Int64 iterator

This commit is contained in:
Andrew Dunham 2015-04-14 16:34:03 -07:00
parent e07838857f
commit c0133018a5

View file

@ -103,6 +103,11 @@ func (it *Int64) Next() bool {
return graph.NextLogOut(it, val, true)
}
func (it *Int64) Err() error {
// This iterator should never error.
return nil
}
// DEPRECATED
func (it *Int64) ResultTree() *graph.ResultTree {
return graph.NewResultTree(it.Result())