From d0ff9fdc642048752756c97f80f914b6652df6f2 Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Mon, 27 Mar 2017 09:27:04 +0200 Subject: [PATCH] Add undocumented method to free memory (for testing purposes) --- Classification/include/CGAL/Classification/Feature_set.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Classification/include/CGAL/Classification/Feature_set.h b/Classification/include/CGAL/Classification/Feature_set.h index 99d8d35b08e..6a6318c02ab 100644 --- a/Classification/include/CGAL/Classification/Feature_set.h +++ b/Classification/include/CGAL/Classification/Feature_set.h @@ -171,6 +171,13 @@ public: m_features.clear(); } + /// \cond SKIP_IN_MANUAL + void free_memory(std::size_t i) + { + m_features[i] = Feature_handle(); + } + /// \endcond + };