summaryrefslogtreecommitdiff
path: root/ace/RB_Tree.h
diff options
context:
space:
mode:
authorjxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-30 02:59:53 +0000
committerjxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-30 02:59:53 +0000
commitccd3b1a35fda820bdcff10f8c0b67fbc0211d66c (patch)
tree6b450e326f828670007019eda5cc060e732ae8be /ace/RB_Tree.h
parent1e3d6007328a548dca95a1c397c76e1741851ab0 (diff)
downloadATCD-ccd3b1a35fda820bdcff10f8c0b67fbc0211d66c.tar.gz
Internalized RED and BLACK. Some minor changes related to this.
Diffstat (limited to 'ace/RB_Tree.h')
-rw-r--r--ace/RB_Tree.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/RB_Tree.h b/ace/RB_Tree.h
index c73b0a4ea55..e6263f7bf15 100644
--- a/ace/RB_Tree.h
+++ b/ace/RB_Tree.h
@@ -17,9 +17,9 @@
#if !defined (ACE_RB_TREE_H)
#define ACE_RB_TREE_H
-#include "ace/ACE.h"
+// enum RB_Tree_Node_Color {RED, BLACK};
-enum RB_Tree_Node_Color {RED, BLACK};
+#include "ace/ACE.h"
// Class Template: RB_Tree_Node
//
@@ -29,6 +29,7 @@ template <class KEY, class T>
class RB_Tree_Node
{
public:
+ enum RB_Tree_Node_Color {RED, BLACK};
RB_Tree_Node (const KEY &k, const T &t);
// constructor
@@ -138,7 +139,6 @@ public:
void clear ();
// destroys all nodes and sets the root pointer null.
-
// These could all be made private methods by making the corresponding
// class template instantiations friends, but there are some problems
// with this on certain compilers: leave them all public for now