mirror of
https://github.com/boostorg/move.git
synced 2025-07-31 21:04:27 +02:00
Fix uninitialized variable warnings in GCC 4.9
This commit is contained in:
@@ -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