diff options
Diffstat (limited to 'boost/container/detail/destroyers.hpp')
-rw-r--r-- | boost/container/detail/destroyers.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/container/detail/destroyers.hpp b/boost/container/detail/destroyers.hpp index b110561a4a..c3a5d90af3 100644 --- a/boost/container/detail/destroyers.hpp +++ b/boost/container/detail/destroyers.hpp @@ -270,12 +270,12 @@ class scoped_destructor }; -template<class Allocator> +template<class Allocator, class Value = typename Allocator::value_type> class value_destructor { typedef boost::container::allocator_traits<Allocator> AllocTraits; public: - typedef typename Allocator::value_type value_type; + typedef Value value_type; value_destructor(Allocator &a, value_type &rv) : rv_(rv), a_(a) {} |