mirror of https://github.com/CGAL/cgal
Revert "Cell_attribute::get_nb_refs is public and not protected; CMap_cell_iterator copy contructor and operator= share also mark mmark_number"
This reverts commit 9aaab1e74a.
(pushed by error in master instead of in my branch)
This commit is contained in:
parent
9aaab1e74a
commit
f58aa32242
|
|
@ -140,11 +140,11 @@ namespace CGAL {
|
|||
--mrefcounting;
|
||||
}
|
||||
|
||||
public:
|
||||
/// Get the reference counting.
|
||||
unsigned int get_nb_refs() const
|
||||
{ return mrefcounting; }
|
||||
|
||||
public:
|
||||
void * for_compact_container() const
|
||||
{ return vp; }
|
||||
void * & for_compact_container()
|
||||
|
|
|
|||
|
|
@ -112,10 +112,7 @@ namespace CGAL {
|
|||
CMap_cell_iterator(const Self& aiterator):
|
||||
Ite(aiterator),
|
||||
mcell_mark_number(aiterator.mcell_mark_number)
|
||||
{
|
||||
this->mmap->share_a_mark(this->mmark_number);
|
||||
this->mmap->share_a_mark(this->mcell_mark_number);
|
||||
}
|
||||
{ this->mmap->share_a_mark(this->mcell_mark_number); }
|
||||
|
||||
/// Assignment operator.
|
||||
Self& operator=(const Self& aiterator)
|
||||
|
|
@ -123,7 +120,6 @@ namespace CGAL {
|
|||
if (this != &aiterator)
|
||||
{
|
||||
Ite::operator=(aiterator);
|
||||
this->mmap->share_a_mark(this->mmark_number);
|
||||
this->mmap->share_a_mark(mcell_mark_number);
|
||||
}
|
||||
return *this;
|
||||
|
|
|
|||
Loading…
Reference in New Issue