mirror of https://github.com/CGAL/cgal
Removed calls to std::list<T>::clear() when this list is already empty by construction
This commit is contained in:
parent
7f5371224f
commit
c1f56b5d42
|
|
@ -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;}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue