diff options
Diffstat (limited to 'libs')
| -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. |
