From 4143d143e09a1f51a7db9bfb6b5f7abcebe1b2af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Tue, 16 Aug 2022 17:23:07 +0200 Subject: [PATCH] fix assertion --- .../include/CGAL/STL_Extension/internal/boost/relaxed_heap.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/STL_Extension/include/CGAL/STL_Extension/internal/boost/relaxed_heap.hpp b/STL_Extension/include/CGAL/STL_Extension/internal/boost/relaxed_heap.hpp index 7996c1af5dd..c91dea7d62f 100644 --- a/STL_Extension/include/CGAL/STL_Extension/internal/boost/relaxed_heap.hpp +++ b/STL_Extension/include/CGAL/STL_Extension/internal/boost/relaxed_heap.hpp @@ -194,7 +194,7 @@ public: void remove(const value_type& x) { group* a = &index_to_group[get(id, x) / log_n]; - CGAL_assertion(groups[get(id, x)]); + CGAL_assertion(static_cast< bool >(groups[get(id, x)])); a->value = x; a->kind = smallest_key; promote(a);