From 8dd935e4814f2613aa20e5d004dca73df29d5051 Mon Sep 17 00:00:00 2001 From: Arnaud Becheler <8360330+Becheler@users.noreply.github.com> Date: Mon, 8 Jun 2026 10:15:13 +0200 Subject: [PATCH] fix: widen the constructor from unsigned to std::size_t --- include/boost/property_map/vector_property_map.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/property_map/vector_property_map.hpp b/include/boost/property_map/vector_property_map.hpp index baf615f..c24b5a7 100644 --- a/include/boost/property_map/vector_property_map.hpp +++ b/include/boost/property_map/vector_property_map.hpp @@ -12,6 +12,7 @@ #include #include +#include #include #include @@ -34,7 +35,7 @@ namespace boost { : store(new std::vector()), index(index) {} - vector_property_map(unsigned initial_size, + vector_property_map(std::size_t initial_size, const IndexMap& index = IndexMap()) : store(new std::vector(initial_size)), index(index) {}