mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 12:57:26 +02:00
Update vector value type in unit test
This commit is contained in:
@ -82,7 +82,7 @@ operator==(const type& lhs, const type& rhs)
|
|||||||
template<class A>
|
template<class A>
|
||||||
void test(const A& allocator)
|
void test(const A& allocator)
|
||||||
{
|
{
|
||||||
std::vector<int, A> v(allocator);
|
std::vector<typename A::value_type, A> v(allocator);
|
||||||
v.push_back(1);
|
v.push_back(1);
|
||||||
BOOST_TEST(v.front() == 1);
|
BOOST_TEST(v.front() == 1);
|
||||||
v.clear();
|
v.clear();
|
||||||
|
Reference in New Issue
Block a user