same modif than r63563 - branches/candidate-packages/Combinatorial_map/include/CGAL

This commit is contained in:
Guillaume Damiand 2011-05-20 07:43:01 +00:00
parent 0bac9ece26
commit 6dbb62caee
1 changed files with 7 additions and 3 deletions

View File

@ -135,13 +135,17 @@ namespace CGAL {
public:
void * for_compact_container() const
{ return &mrefcounting; }
{ return vp; }
void * & for_compact_container()
{ return &mrefcounting; }
{ return vp; }
private:
/// Reference counting: the number of darts linked to this cell.
unsigned int mrefcounting;
union
{
unsigned int mrefcounting;
void *vp;
};
};
/** Definition of cell attribute.