Tree
- Removed pointers from ::dumpNode, which are useful for debugging new/delete, but simply noise at other times.
This commit is contained in:
@@ -273,7 +273,9 @@ void Tree::dumpNode (Tree* t, int depth, std::stringstream& output)
|
|||||||
for (int i = 0; i < depth; ++i)
|
for (int i = 0; i < depth; ++i)
|
||||||
output << " ";
|
output << " ";
|
||||||
|
|
||||||
output << std::hex << t << " "
|
output
|
||||||
|
// Useful for debugging tree node new/delete errors.
|
||||||
|
// << std::hex << t << " "
|
||||||
<< "\033[1m" << t->_name << "\033[0m";
|
<< "\033[1m" << t->_name << "\033[0m";
|
||||||
|
|
||||||
// Dump attributes.
|
// Dump attributes.
|
||||||
|
|||||||
Reference in New Issue
Block a user