Fix the obvious copy bug

This commit is contained in:
Barak Michener 2014-06-28 16:13:20 -04:00
parent 075ea36f1b
commit 44ae0b523e

View file

@ -71,7 +71,7 @@ func (it *OrIterator) Clone() Iterator {
for _, sub := range it.internalIterators { for _, sub := range it.internalIterators {
or.AddSubIterator(sub.Clone()) or.AddSubIterator(sub.Clone())
} }
it.CopyTagsFrom(it) or.CopyTagsFrom(it)
return or return or
} }