summaryrefslogtreecommitdiff
path: root/ace/RB_Tree.i
diff options
context:
space:
mode:
authorjxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-30 18:14:18 +0000
committerjxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-30 18:14:18 +0000
commit3ec63d9d2457a91ca48e920ea7e97e6bc58eef32 (patch)
tree37cdc694c6031206340b5b8b02b9410fa63ee9cd /ace/RB_Tree.i
parent27f3868e50d300ce557b4f07006357a0708f3854 (diff)
downloadATCD-3ec63d9d2457a91ca48e920ea7e97e6bc58eef32.tar.gz
Try to put enum into a class again. This time, created a dummy base
class to hold the RED and BLACK enums.
Diffstat (limited to 'ace/RB_Tree.i')
-rw-r--r--ace/RB_Tree.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/RB_Tree.i b/ace/RB_Tree.i
index c866648469f..480b9582ac1 100644
--- a/ace/RB_Tree.i
+++ b/ace/RB_Tree.i
@@ -20,14 +20,14 @@ RB_Tree_Node<KEY, T>::item ()
// item accessor
template <class KEY, class T> ACE_INLINE void
-RB_Tree_Node<KEY, T>::color (RB_Tree_Node_Color c)
+RB_Tree_Node<KEY, T>::color (RB_Tree_Node<KEY, T>::RB_Tree_Node_Color c)
{
color_ = c;
}
// set color of the node
template <class KEY, class T>
-ACE_INLINE RB_Tree_Node_Color
+ACE_INLINE RB_Tree_Node<KEY, T>::RB_Tree_Node_Color
RB_Tree_Node<KEY, T>::color ()
{
return color_;