From 16be3009ca88552383bda93b97da2bbd30091585 Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Sun, 5 Apr 2020 19:10:32 +0200 Subject: [PATCH] Add a missing call to base constructor --- 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 9362ef469f9..f0c4f3ad589 100644 --- a/Combinatorial_map/include/CGAL/Combinatorial_map.h +++ b/Combinatorial_map/include/CGAL/Combinatorial_map.h @@ -459,7 +459,7 @@ namespace CGAL { } // Copy constructor from a map having exactly the same type. - Combinatorial_map_base (const Self & amap) + Combinatorial_map_base (const Self & amap): Combinatorial_map_base() { copy(amap); } // "Copy constructor" from a map having different type. diff --git a/Generalized_map/include/CGAL/Generalized_map.h b/Generalized_map/include/CGAL/Generalized_map.h index 5d344bef9f2..d85cd773266 100644 --- a/Generalized_map/include/CGAL/Generalized_map.h +++ b/Generalized_map/include/CGAL/Generalized_map.h @@ -423,7 +423,7 @@ namespace CGAL { } // Copy constructor from a map having exactly the same type. - Generalized_map_base (const Self & amap) : Generalized_map_base() + Generalized_map_base(const Self & amap) : Generalized_map_base() { copy(amap); } // "Copy constructor" from a map having different type.