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