From 4cfbe98564cad3ff4dceef44ebc362061befcd65 Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Mon, 27 Mar 2017 09:29:06 +0200 Subject: [PATCH] Point_set_3: fix documentation bug (concept Index accepts constructor with std::size_t) --- Point_set_3/include/CGAL/Point_set_3.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Point_set_3/include/CGAL/Point_set_3.h b/Point_set_3/include/CGAL/Point_set_3.h index da2f94e0960..73b770c7077 100644 --- a/Point_set_3/include/CGAL/Point_set_3.h +++ b/Point_set_3/include/CGAL/Point_set_3.h @@ -120,12 +120,9 @@ public: friend class std::vector; std::size_t value; - // Only Point_set_3 and other friend classes are allowed to - // instantiate an Index with a specific value - Index (const std::size_t& value) : value (value) { } - /// \endcond public: Index (const Index& index) : value (index) { } + Index (const std::size_t& value) : value (value) { } Index () : value ((std::size_t)(-1)) { } Index operator= (const Index& index) { value = index.value; return *this; } /// \cond SKIP_IN_MANUAL