From b93aff65ead3831183eaed1e7dbc4ea52f19baf9 Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Thu, 25 Nov 2021 11:16:10 +0100 Subject: [PATCH] Do not clear a cmap before to copy it. --- Combinatorial_map/include/CGAL/Combinatorial_map.h | 2 +- Generalized_map/include/CGAL/Generalized_map.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Combinatorial_map/include/CGAL/Combinatorial_map.h b/Combinatorial_map/include/CGAL/Combinatorial_map.h index 44b8cdd5f9c..5f409521c1e 100644 --- a/Combinatorial_map/include/CGAL/Combinatorial_map.h +++ b/Combinatorial_map/include/CGAL/Combinatorial_map.h @@ -239,7 +239,7 @@ namespace CGAL { bool copy_perforated_darts=false, size_type mark_perforated=INVALID_MARK) { - this->clear(); + // this->clear(); /*this->mnb_used_marks = amap.mnb_used_marks; this->mmask_marks = amap.mmask_marks; diff --git a/Generalized_map/include/CGAL/Generalized_map.h b/Generalized_map/include/CGAL/Generalized_map.h index 31623b6fbeb..73fa3becf5e 100644 --- a/Generalized_map/include/CGAL/Generalized_map.h +++ b/Generalized_map/include/CGAL/Generalized_map.h @@ -204,7 +204,7 @@ namespace CGAL { bool copy_perforated_darts=false, size_type mark_perforated=INVALID_MARK) { - this->clear(); + //this->clear(); /*this->mnb_used_marks = amap.mnb_used_marks; this->mmask_marks = amap.mmask_marks;