From bc3dc1e50e45047b830366ecb5f539f59991f70f Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 24 Aug 2014 12:12:07 -0400 Subject: [PATCH] Tree - Removed pointers from ::dumpNode, which are useful for debugging new/delete, but simply noise at other times. --- src/Tree.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Tree.cpp b/src/Tree.cpp index 0e5bcc045..d96c14927 100644 --- a/src/Tree.cpp +++ b/src/Tree.cpp @@ -273,7 +273,9 @@ void Tree::dumpNode (Tree* t, int depth, std::stringstream& output) for (int i = 0; i < depth; ++i) output << " "; - output << std::hex << t << " " + output + // Useful for debugging tree node new/delete errors. + // << std::hex << t << " " << "\033[1m" << t->_name << "\033[0m"; // Dump attributes.