From 195b0c1f48c5c68d78a12c89bc0154e10ccd2ad4 Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Fri, 22 Jul 2022 11:46:15 +0200 Subject: [PATCH] An index must be convertible to size_type and not size_t --- Combinatorial_map/include/CGAL/Compact_container_with_index.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Combinatorial_map/include/CGAL/Compact_container_with_index.h b/Combinatorial_map/include/CGAL/Compact_container_with_index.h index c6266330581..37d555793b6 100644 --- a/Combinatorial_map/include/CGAL/Compact_container_with_index.h +++ b/Combinatorial_map/include/CGAL/Compact_container_with_index.h @@ -448,7 +448,7 @@ public: {} /// Get the underlying index - operator size_t() const + operator size_type() const { return m_idx; } // Constructor allowing to transform an index from one container to another