From 6dbb62caeeb3a526d7f649cd7dbbc2d841134f70 Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Fri, 20 May 2011 07:43:01 +0000 Subject: [PATCH] same modif than r63563 - branches/candidate-packages/Combinatorial_map/include/CGAL --- Combinatorial_map/include/CGAL/Cell_attribute.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Combinatorial_map/include/CGAL/Cell_attribute.h b/Combinatorial_map/include/CGAL/Cell_attribute.h index 5d3e3d87a62..3a2dc61b578 100644 --- a/Combinatorial_map/include/CGAL/Cell_attribute.h +++ b/Combinatorial_map/include/CGAL/Cell_attribute.h @@ -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.