summaryrefslogtreecommitdiff
path: root/boost/ptr_container/ptr_vector.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/ptr_container/ptr_vector.hpp')
-rw-r--r--boost/ptr_container/ptr_vector.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/boost/ptr_container/ptr_vector.hpp b/boost/ptr_container/ptr_vector.hpp
index ee42095bce..5a85ad9c52 100644
--- a/boost/ptr_container/ptr_vector.hpp
+++ b/boost/ptr_container/ptr_vector.hpp
@@ -26,15 +26,15 @@ namespace boost
<
class T,
class CloneAllocator = heap_clone_allocator,
- class Allocator = std::allocator<void*>
+ class Allocator = std::allocator<typename ptr_container_detail::void_ptr<T>::type>
>
class ptr_vector : public
- ptr_sequence_adapter< T,
- std::vector<void*,Allocator>,
+ ptr_sequence_adapter< T, std::vector<
+ typename ptr_container_detail::void_ptr<T>::type,Allocator>,
CloneAllocator >
{
- typedef ptr_sequence_adapter< T,
- std::vector<void*,Allocator>,
+ typedef ptr_sequence_adapter< T, std::vector<
+ typename ptr_container_detail::void_ptr<T>::type,Allocator>,
CloneAllocator >
base_class;