forked from boostorg/move
Fix maybe uninitialized value warnings
This commit is contained in:
@ -140,6 +140,9 @@ struct cpu_times
|
|||||||
nanosecond_type system;
|
nanosecond_type system;
|
||||||
|
|
||||||
void clear() { wall = user = system = 0; }
|
void clear() { wall = user = system = 0; }
|
||||||
|
|
||||||
|
cpu_times()
|
||||||
|
{ this->clear(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ struct order_perf_type
|
|||||||
std::size_t val;
|
std::size_t val;
|
||||||
|
|
||||||
order_perf_type()
|
order_perf_type()
|
||||||
|
: key(), val()
|
||||||
{
|
{
|
||||||
++num_elements;
|
++num_elements;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user