Fix flat_list::clear for trivially destructible types

This commit is contained in:
Nikita Lisitsa 2021-04-27 23:12:36 +03:00
parent 749c026d7c
commit 497b90ee7a

View file

@ -167,6 +167,7 @@ namespace psemek::util
nodes_.reset();
capacity_ = 0;
first_ = null;
size_ = 0;
return;
}
else