forked from boostorg/move
Fix uninitialized variable warnings in GCC 4.9
This commit is contained in:
1 parent
196914b7a0
commit
67bd18d04e
1 file changed
+2
-2
@@ -313,7 +313,7 @@ int main()
|
||||
{
|
||||
container<int> c;
|
||||
{
|
||||
int x;
|
||||
int x = 0;
|
||||
c.push_back(x);
|
||||
assert(c.construction_type() == Copied);
|
||||
c.insert(c.begin(), c.construction_type());
|
||||
@@ -359,7 +359,7 @@ int main()
|
||||
{
|
||||
container<int> c;
|
||||
{
|
||||
int x;
|
||||
int x = 0;
|
||||
c.push_back(x);
|
||||
assert(c.construction_type() == Copied);
|
||||
c.insert(c.begin(), c.construction_type());
|
||||
|
||||
Reference in new issue
Block a user