summaryrefslogtreecommitdiffstats
path: root/core/set.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-01-14 12:26:56 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-01-14 14:52:23 +0100
commit93ab45b6b5c4f8e0619e963156c983009d399a9d (patch)
tree80e55993f29ad7bf502ef7388eef78114b2dc4ab /core/set.h
parent78e90ac60b81f17fdf8c319357f16962e92e6106 (diff)
downloadredot-engine-93ab45b6b5c4f8e0619e963156c983009d399a9d.tar.gz
Style: Fix whole-line commented code
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
Diffstat (limited to 'core/set.h')
-rw-r--r--core/set.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/set.h b/core/set.h
index 9da2887671..13c2b3a4f6 100644
--- a/core/set.h
+++ b/core/set.h
@@ -141,7 +141,7 @@ private:
#ifdef GLOBALNIL_DISABLED
memdelete_allocator<Element,A>(_nil);
#endif
-// memdelete_allocator<Element,A>(_root);
+ //memdelete_allocator<Element,A>(_root);
}
};
@@ -307,7 +307,7 @@ private:
new_node->right=_data._nil;
new_node->left=_data._nil;
new_node->value=p_value;
-// new_node->data=_data;
+ //new_node->data=_data;
if (new_parent==_data._root || less(p_value,new_parent->value)) {
new_parent->left=new_node;