Update vector value type in unit test

This commit is contained in:
Glen Fernandes
2019-04-29 02:29:00 -04:00
parent a0e1100421
commit 836ae6917d

View File

@ -82,7 +82,7 @@ operator==(const type& lhs, const type& rhs)
template<class A>
void test(const A& allocator)
{
std::vector<int, A> v(allocator);
std::vector<typename A::value_type, A> v(allocator);
v.push_back(1);
BOOST_TEST(v.front() == 1);
v.clear();