mirror of
https://github.com/boostorg/container.git
synced 2025-08-03 14:34:27 +02:00
Fix potentially not-initialized variable warning
This commit is contained in:
@@ -266,10 +266,10 @@ int main()
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{ //Test enum container
|
||||||
typedef vector<Test, std::allocator<Test> > MyEnumCont;
|
typedef vector<Test, std::allocator<Test> > MyEnumCont;
|
||||||
MyEnumCont v;
|
MyEnumCont v;
|
||||||
Test t;
|
Test t = Test();
|
||||||
v.push_back(t);
|
v.push_back(t);
|
||||||
v.push_back(::boost::move(t));
|
v.push_back(::boost::move(t));
|
||||||
v.push_back(Test());
|
v.push_back(Test());
|
||||||
|
Reference in New Issue
Block a user