diff options
Diffstat (limited to 'ace/RB_Tree.h')
-rw-r--r-- | ace/RB_Tree.h | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/ace/RB_Tree.h b/ace/RB_Tree.h index e2ba71cee94..f5e6dc84b12 100644 --- a/ace/RB_Tree.h +++ b/ace/RB_Tree.h @@ -208,7 +208,6 @@ public: /// Constructor. ACE_RB_Tree (ACE_Allocator *alloc = 0); - /// Copy constructor. ACE_RB_Tree (const ACE_RB_Tree<EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK> &rbt); @@ -362,10 +361,10 @@ public: size_t current_size (void) const; /// Assignment operator. - void operator= (const ACE_RB_Tree<EXT_ID, - INT_ID, - COMPARE_KEYS, - ACE_LOCK> &rbt); + void operator= (const ACE_RB_Tree<EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK> &rbt); + + /// Less than comparison function for keys, using comparison functor. + virtual int lessthan (const EXT_ID &k1, const EXT_ID &k2); /** * Returns a reference to the underlying <ACE_LOCK>. This makes it @@ -441,14 +440,6 @@ public: void clear (void); protected: - /// Reinitialize constructor. - /** - * This constructor is used to provide a valid vtable and allocator - * if the tree is reconstructed from shared memory. Constructor - * used by the derived class that has an allocator - */ - ACE_RB_Tree (void *location, - ACE_Allocator *alloc); // = Protected methods. These should only be called with locks held. @@ -558,9 +549,6 @@ protected: /// provide definitions for various EXT_ID and INT_ID types. void dump_node_i (ACE_RB_Tree_Node<EXT_ID, INT_ID> &node) const; - /// Less than comparison function for keys, using comparison functor. - int lessthan (const EXT_ID &k1, const EXT_ID &k2); - private: // = Private members. |