mirror of
https://github.com/boostorg/core.git
synced 2025-07-29 20:37:22 +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>
|
||||
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();
|
||||
|
Reference in New Issue
Block a user