From 47abaf1fdb39d040effd64d1f81f40de74a7482a Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Sat, 7 Dec 2019 08:43:32 +0100 Subject: [PATCH] Add operator= to avoid a deprecated warning --- .../CGAL/Linear_cell_complex_for_combinatorial_map.h | 6 ++++++ .../include/CGAL/Linear_cell_complex_for_generalized_map.h | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/Linear_cell_complex/include/CGAL/Linear_cell_complex_for_combinatorial_map.h b/Linear_cell_complex/include/CGAL/Linear_cell_complex_for_combinatorial_map.h index 17082ce7310..48519960458 100644 --- a/Linear_cell_complex/include/CGAL/Linear_cell_complex_for_combinatorial_map.h +++ b/Linear_cell_complex/include/CGAL/Linear_cell_complex_for_combinatorial_map.h @@ -148,6 +148,12 @@ namespace CGAL { Base(alcc, converters, dartinfoconverter, pointconverter) {} + Self & operator= (const Self & alcc) + { + Base::operator=(alcc); + return *this; + } + /** Import the given hds which should be a model of an halfedge graph. */ template void import_from_halfedge_graph(const HEG& heg , diff --git a/Linear_cell_complex/include/CGAL/Linear_cell_complex_for_generalized_map.h b/Linear_cell_complex/include/CGAL/Linear_cell_complex_for_generalized_map.h index 14782d3fed8..079a5143c7f 100644 --- a/Linear_cell_complex/include/CGAL/Linear_cell_complex_for_generalized_map.h +++ b/Linear_cell_complex/include/CGAL/Linear_cell_complex_for_generalized_map.h @@ -144,6 +144,11 @@ namespace CGAL { Base(alcc, converters, dartinfoconverter, pointconverter) {} + Self & operator= (const Self & alcc) + { + Base::operator=(alcc); + return *this; + } }; } // namespace CGAL