[libgee] Increase stamp on Map.set in Gee.TreeMap
- From: Maciej Marcin Piechotka <mpiechotka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgee] Increase stamp on Map.set in Gee.TreeMap
- Date: Sun, 1 Aug 2010 14:35:51 +0000 (UTC)
commit 6c93460e6a01d4727657f50604e3d0cc7ea448d0
Author: Maciej Piechotka <uzytkownik2 gmail com>
Date: Sun Aug 1 16:34:56 2010 +0200
Increase stamp on Map.set in Gee.TreeMap
gee/treemap.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gee/treemap.vala b/gee/treemap.vala
index 90ddeca..cbd156f 100644
--- a/gee/treemap.vala
+++ b/gee/treemap.vala
@@ -221,6 +221,7 @@ public class Gee.TreeMap<K,V> : Gee.AbstractMap<K,V> {
public override void set (K key, V value) {
set_to_node (ref root, key, value, null, null);
root.color = Node.Color.BLACK;
+ stamp++;
}
private void move_red_left (ref Node<K, V> root) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]