polylib: fix compile error with clang

This commit is contained in:
Eric Wasylishen 2022-01-25 19:55:07 -07:00
parent 7e6ae905db
commit 19dbc1c1c8
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ public:
{
// move us to dynamic if we'll expand too big
if (new_size > N && !is_dynamic()) {
auto &vector = vector_type(begin(), end());
auto vector = vector_type(begin(), end());
vector.resize(new_size);
data = std::move(vector);
} else if (is_dynamic()) {