Fix flat_list::clear for trivially destructible types
This commit is contained in:
parent
749c026d7c
commit
497b90ee7a
1 changed files with 1 additions and 0 deletions
|
|
@ -167,6 +167,7 @@ namespace psemek::util
|
||||||
nodes_.reset();
|
nodes_.reset();
|
||||||
capacity_ = 0;
|
capacity_ = 0;
|
||||||
first_ = null;
|
first_ = null;
|
||||||
|
size_ = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue