Initialize all members in clear().
This commit is contained in:
parent
b97840660c
commit
21c9a6fcde
1 changed files with 3 additions and 0 deletions
|
@ -195,6 +195,9 @@ void text_layout::clear()
|
|||
{
|
||||
itemizer_.clear();
|
||||
lines_.clear();
|
||||
width_map_.clear();
|
||||
width_ = 0.;
|
||||
height_ = 0.;
|
||||
}
|
||||
|
||||
double text_layout::height() const
|
||||
|
|
Loading…
Add table
Reference in a new issue