[libgee] Add missing DEBUG section



commit 2dea80e35c6d246f19c9f806d2716241fbb703d1
Author: Maciej Piechotka <uzytkownik2 gmail com>
Date:   Sun Sep 27 15:59:56 2009 +0200

    Add missing DEBUG section

 gee/treeset.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gee/treeset.vala b/gee/treeset.vala
index 3b22504..a49b67d 100644
--- a/gee/treeset.vala
+++ b/gee/treeset.vala
@@ -326,7 +326,9 @@ public class Gee.TreeSet<G> : AbstractSet<G> {
 #if CONSISTENCY_CHECKS
 	public inline void check () {
 		check_subtree (root);
+#if DEBUG
 		stdout.printf ("%s\n", dump ());
+#endif
 	}
 
 	private inline uint check_subtree (Node<G>? node) {



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