# # # patch "roster.cc" # from [3b9159bb3fba3195ae4d1e1eabe7a2a4c43cda95] # to [b908e4ea6867f422d7dd20e5b15928189c3b5ec6] # # patch "roster.hh" # from [3f9f5a968cbce9abd0199a75eda87d36da7ff485] # to [6811b78a4a979e2146ba44e6c3a3023dec0b4c53] # ============================================================ --- roster.cc 3b9159bb3fba3195ae4d1e1eabe7a2a4c43cda95 +++ roster.cc b908e4ea6867f422d7dd20e5b15928189c3b5ec6 @@ -812,19 +812,6 @@ } void -roster_t::check_finite_depth() const -{ - I(has_root()); - size_t maxdepth = nodes.size(); - for (dfs_iter i(root_dir); !i.finished(); ++i) - { - I(*i == get_node((*i)->self)); - I(maxdepth-- > 0); - } - I(maxdepth == 0); -} - -void roster_t::check_sane(bool temp_nodes_ok) const { I(has_root()); @@ -864,7 +851,14 @@ } - check_finite_depth(); + I(has_root()); + size_t maxdepth = nodes.size(); + for (dfs_iter i(root_dir); !i.finished(); ++i) + { + I(*i == get_node((*i)->self)); + I(maxdepth-- > 0); + } + I(maxdepth == 0); } void ============================================================ --- roster.hh 3f9f5a968cbce9abd0199a75eda87d36da7ff485 +++ roster.hh 6811b78a4a979e2146ba44e6c3a3023dec0b4c53 @@ -233,7 +233,6 @@ private: void do_deep_copy_from(roster_t const & other); - void check_finite_depth() const; dir_t root_dir; node_map nodes; // this attribute holds the previous location of detached nodes. when