From bea3a1c32c0a034b201be2c30a69a5f8cdf81896 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 30 Apr 2026 18:58:26 +0200 Subject: kstd: align vector with standard --- libs/kstd/include/kstd/vector | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/kstd') diff --git a/libs/kstd/include/kstd/vector b/libs/kstd/include/kstd/vector index e1b8b38..97fdffe 100644 --- a/libs/kstd/include/kstd/vector +++ b/libs/kstd/include/kstd/vector @@ -37,9 +37,9 @@ namespace kstd //! The type of references to constant elements in this vector. using const_reference = value_type const &; //! The type of pointers to elements in this vector. - using pointer = value_type *; + using pointer = std::allocator_traits::pointer; //! The type of pointers to constant elements in this vector. - using const_pointer = value_type const *; + using const_pointer = std::allocator_traits::const_pointer; //! The type of iterators into this container. using iterator = pointer; //! The type of constant iterators into this container. -- cgit v1.2.3