summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2004-07-10 06:43:53 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2004-07-10 06:43:53 +0000
commit5fee0bd9718f1318bf74313b6605d19018e131cb (patch)
tree3be9885abb9eb0750ce07c5150182bd9fcee5436
parent89084e85a39a0ffdaf709d02bfa3b58bf7ece4b0 (diff)
downloadATCD-5fee0bd9718f1318bf74313b6605d19018e131cb.tar.gz
Nuked trailing whitespace.
-rw-r--r--ace/RB_Tree.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/RB_Tree.cpp b/ace/RB_Tree.cpp
index 0965d4d73b8..c46460e9a77 100644
--- a/ace/RB_Tree.cpp
+++ b/ace/RB_Tree.cpp
@@ -87,7 +87,7 @@ ACE_RB_Tree<EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK>::ACE_RB_Tree (const ACE_RB_T
"ACE_RB_Tree (const ACE_RB_Tree<EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK> &rbt)");
ACE_WRITE_GUARD (ACE_LOCK, ace_mon, this->lock_);
allocator_ = rbt.allocator_;
-
+
// Make a deep copy of the passed tree.
ACE_RB_Tree_Iterator<EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK> iter(rbt);
@@ -627,7 +627,7 @@ ACE_RB_Tree<EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK>::insert_i (const EXT_ID &k,
this->allocator_->malloc (sizeof(ACE_RB_Tree_Node<EXT_ID, INT_ID>)),
0);
tmp = new (ptr) ACE_RB_Tree_Node<EXT_ID, INT_ID>(k, t, *this);
-
+
current->right (tmp);
// If the node was successfully inserted, set its
@@ -684,7 +684,7 @@ ACE_RB_Tree<EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK>::insert_i (const EXT_ID &k,
this->allocator_->malloc (sizeof(ACE_RB_Tree_Node<EXT_ID, INT_ID>)),
0);
root_ = new (ptr) ACE_RB_Tree_Node<EXT_ID, INT_ID>(k, t, *this);
-
+
if (root_)
{
root_->color (ACE_RB_Tree_Node_Base::BLACK);
@@ -801,7 +801,7 @@ ACE_RB_Tree<EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK>::insert_i (const EXT_ID &k,
this->allocator_->malloc (sizeof(ACE_RB_Tree_Node<EXT_ID, INT_ID>)),
-1);
root_ = new (ptr) ACE_RB_Tree_Node<EXT_ID, INT_ID>(k, t, *this);
-
+
root_->color (ACE_RB_Tree_Node_Base::BLACK);
++current_size_;
entry = root_;