diff options
-rw-r--r-- | libbutl/small-forward-list.hxx | 1 | ||||
-rw-r--r-- | libbutl/small-list.hxx | 1 | ||||
-rw-r--r-- | libbutl/small-vector.hxx | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/libbutl/small-forward-list.hxx b/libbutl/small-forward-list.hxx index 8d1cf68..db87d69 100644 --- a/libbutl/small-forward-list.hxx +++ b/libbutl/small-forward-list.hxx @@ -57,6 +57,7 @@ namespace butl using buffer_type = small_forward_list_buffer<T, N>; using allocator_type = small_allocator<T, N, buffer_type>; using base_type = std::forward_list<T, allocator_type>; + using typename base_type::value_type; small_forward_list () : base_type (allocator_type (this)) {} diff --git a/libbutl/small-list.hxx b/libbutl/small-list.hxx index 7cb51fd..c75f49a 100644 --- a/libbutl/small-list.hxx +++ b/libbutl/small-list.hxx @@ -59,6 +59,7 @@ namespace butl using buffer_type = small_list_buffer<T, N>; using allocator_type = small_allocator<T, N, buffer_type>; using base_type = std::list<T, allocator_type>; + using typename base_type::value_type; small_list () : base_type (allocator_type (this)) {} diff --git a/libbutl/small-vector.hxx b/libbutl/small-vector.hxx index 44a3ef5..787d73a 100644 --- a/libbutl/small-vector.hxx +++ b/libbutl/small-vector.hxx @@ -38,6 +38,7 @@ namespace butl using buffer_type = small_allocator_buffer<T, N>; using allocator_type = small_allocator<T, N>; using base_type = std::vector<T, allocator_type>; + using typename base_type::value_type; small_vector () : base_type (allocator_type (this)) |