Fix Err fallout for graph/iterator.Fixed iterator

This commit is contained in:
Andrew Dunham 2015-04-14 16:35:08 -07:00
parent c0133018a5
commit ebb45d4c14

View file

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