From 3f3013cb93b3e84d00e291207bb991083e6a0a40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ama=C3=ABl=20Marquez?= Date: Thu, 29 Aug 2024 13:40:37 +0200 Subject: [PATCH 1/2] [SpatialPartitioning] Force max node count type to 'std::size_t' --- Ponca/src/SpatialPartitioning/KdTree/kdTreeTraits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ponca/src/SpatialPartitioning/KdTree/kdTreeTraits.h b/Ponca/src/SpatialPartitioning/KdTree/kdTreeTraits.h index e96675cb..ede36893 100644 --- a/Ponca/src/SpatialPartitioning/KdTree/kdTreeTraits.h +++ b/Ponca/src/SpatialPartitioning/KdTree/kdTreeTraits.h @@ -114,7 +114,7 @@ class KdTreeCustomizableNode using LeafType = _LeafNodeType; public: - enum + enum : std::size_t { /*! * \brief The maximum number of nodes that a kd-tree can have when using From 865a7c3f5eb3c41e7139135005bd5a2471e96cf1 Mon Sep 17 00:00:00 2001 From: Nicolas Mellado Date: Tue, 29 Oct 2024 10:36:14 +0100 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index ca2b53d2..4449ef4c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -9,6 +9,9 @@ Current head (v.1.4 RC) - [build] Enable exportation of projects linking to Ponca targets (#150) - [install] Change output directory to `lib/cmake/Ponca` (#150) +- Bug-fixes and code improvements + - [spatialPartitioning] Fix compilation error with `MAX_NODE_COUNT` when compiled with MSVC (#152) + -------------------------------------------------------------------------------- v.1.3 This release introduces several improvements around the KdTre API, as well as bug fixes, new features and doc