Skip to content

Commit

Permalink
Remove debug calls to printTree from within printTree itself
Browse files Browse the repository at this point in the history
  • Loading branch information
nordlow committed Oct 20, 2014
1 parent 97212ca commit 52379a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/container/rbtree.d
Expand Up @@ -1500,11 +1500,11 @@ assert(std.algorithm.equal(rbt[], [5]));
{
if(n !is null)
{
debug printTree(n.right, indent + 2);
printTree(n.right, indent + 2);
for(int i = 0; i < indent; i++)
write(".");
writeln(n.color == n.color.Black ? "B" : "R");
debug printTree(n.left, indent + 2);
printTree(n.left, indent + 2);
}
else
{
Expand Down

0 comments on commit 52379a6

Please sign in to comment.