[libgee/0.8] Fix Gee.ArrayQueue.Iterator.foreach



commit d8b4f2794f20e917d379f82354bbbdb7daf3877d
Author: Maciej Piechotka <uzytkownik2 gmail com>
Date:   Tue Jul 16 00:44:11 2013 +0200

    Fix Gee.ArrayQueue.Iterator.foreach

 gee/arrayqueue.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gee/arrayqueue.vala b/gee/arrayqueue.vala
index 9775df2..9806a65 100644
--- a/gee/arrayqueue.vala
+++ b/gee/arrayqueue.vala
@@ -324,6 +324,7 @@ public class Gee.ArrayQueue<G> : Gee.AbstractQueue<G>, Deque<G> {
                                        return false;
                                }
                        }
+                       _offset = _queue._length - 1;
                        return true;
                }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]