Changeset 1126


Ignore:
Timestamp:
Aug 8, 2003, 9:43:23 AM (17 years ago)
Author:
sveta
Message:
  • Constructor Table() is changed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/runtime/rf_table.ih

    r1123 r1126  
    1515  : Object()
    1616{
    17   static bool flag = false;
    18   if (!flag) {
    19     flag = true;
     17  if (!count) {
    2018    TableNode::nil = new TableNode;
    2119    TableNode::nil->color = TableNode::BLACK;
     
    5351   if (root != TableNode::nil)
    5452     delete_tree(root);
    55    count--;
    56    if (!count)
     53   if (!--count)
    5754     delete(TableNode::nil);
    5855}
Note: See TracChangeset for help on using the changeset viewer.