mirror of https://github.com/CGAL/cgal
Improvement for set_size
This commit is contained in:
parent
6cdd833e13
commit
e9f1cb405f
|
|
@ -131,6 +131,9 @@ public:
|
||||||
size_type size() const { return m_size; }
|
size_type size() const { return m_size; }
|
||||||
void set_size(size_type s) {
|
void set_size(size_type s) {
|
||||||
m_size = s;
|
m_size = s;
|
||||||
|
#if CGAL_CONCURRENT_COMPACT_CONTAINER_APPROXIMATE_SIZE
|
||||||
|
refresh_approximate_size();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
void inc_size() {
|
void inc_size() {
|
||||||
++m_size;
|
++m_size;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue