diff --git a/test/dummy_test_allocator.hpp b/test/dummy_test_allocator.hpp index 14ef779..726554d 100644 --- a/test/dummy_test_allocator.hpp +++ b/test/dummy_test_allocator.hpp @@ -240,11 +240,11 @@ unsigned int propagation_test_allocator< T , EqualIfEqualIds >::unique_id_ = 0; - +template class small_size_type_allocator { public: - typedef int value_type; + typedef T value_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef unsigned short size_type; diff --git a/test/explicit_inst_vector_test.cpp b/test/explicit_inst_vector_test.cpp index 600bc2d..0db157c 100644 --- a/test/explicit_inst_vector_test.cpp +++ b/test/explicit_inst_vector_test.cpp @@ -45,7 +45,7 @@ template class boost::container::vector< test::movable_and_copyable_int >; //test custom allocator with small size_type -template class boost::container::vector; +template class boost::container::vector >; } //namespace boost { } //namespace container {