Removed calls to std::list<T>::clear() when this list is already empty by construction

This commit is contained in:
Andreas Fabri 2003-05-20 12:16:53 +00:00
parent 7f5371224f
commit c1f56b5d42
1 changed files with 2 additions and 7 deletions

View File

@ -196,7 +196,6 @@ namespace CGAL {
tbox = bbox;
// build list
p_list.clear();
Iter it;
for (it=begin; it != end; ++it) p_list.push_back(&(*it));
@ -263,9 +262,6 @@ namespace CGAL {
Point_list l_lower, l_upper;
l_lower.clear();
l_upper.clear();
c.bbox=bbox;
// bool test_validity=false;
@ -382,9 +378,8 @@ template <class Item_, class Value>
};
~Point_container() {
p_list.clear();
}
~Point_container()
{}
inline bool empty() const { return the_size == 0;}