From 5ce1ad261127f8c709a5c4d4e614a6d578e8b401 Mon Sep 17 00:00:00 2001 From: Tobias Germer Date: Tue, 18 Oct 2016 13:42:56 +0200 Subject: [PATCH] Fix parameter type of uninitialized_copy_alloc_n_source() --- include/boost/container/detail/copy_move_algo.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/container/detail/copy_move_algo.hpp b/include/boost/container/detail/copy_move_algo.hpp index ead93c6..63ad91b 100644 --- a/include/boost/container/detail/copy_move_algo.hpp +++ b/include/boost/container/detail/copy_move_algo.hpp @@ -512,7 +512,7 @@ template typename I, // I models InputIterator typename F> // F models ForwardIterator inline typename container_detail::disable_if_memtransfer_copy_constructible::type - uninitialized_copy_alloc_n_source(Allocator &a, I f, typename boost::container::iterator_traits::difference_type n, F r) + uninitialized_copy_alloc_n_source(Allocator &a, I f, typename boost::container::allocator_traits::size_type n, F r) { F back = r; BOOST_TRY{