diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-04-30 18:58:26 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-04-30 18:58:26 +0200 |
| commit | bea3a1c32c0a034b201be2c30a69a5f8cdf81896 (patch) | |
| tree | 68738ab42762644035dc042b4577d23dde598cf6 | |
| parent | d3e02e6d9de4751910a8c51079e9489bd15948c7 (diff) | |
| download | kernel-bea3a1c32c0a034b201be2c30a69a5f8cdf81896.tar.xz kernel-bea3a1c32c0a034b201be2c30a69a5f8cdf81896.zip | |
kstd: align vector with standard
| -rw-r--r-- | libs/kstd/include/kstd/vector | 4 |
1 files changed, 2 insertions, 2 deletions
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<allocator_type>::pointer; //! The type of pointers to constant elements in this vector. - using const_pointer = value_type const *; + using const_pointer = std::allocator_traits<allocator_type>::const_pointer; //! The type of iterators into this container. using iterator = pointer; //! The type of constant iterators into this container. |
