1
0
forked from boostorg/move

Fix maybe uninitialized value warnings

This commit is contained in:
Ion Gaztañaga
2021-12-29 17:26:39 +01:00
parent a62674f805
commit 6cd6a1879c
2 changed files with 4 additions and 0 deletions

View File

@ -140,6 +140,9 @@ struct cpu_times
nanosecond_type system;
void clear() { wall = user = system = 0; }
cpu_times()
{ this->clear(); }
};

View File

@ -25,6 +25,7 @@ struct order_perf_type
std::size_t val;
order_perf_type()
: key(), val()
{
++num_elements;
}