diff --git a/test/std_vector_test.cc b/test/std_vector_test.cc index 5c5d854c..eea6d9ce 100755 --- a/test/std_vector_test.cc +++ b/test/std_vector_test.cc @@ -47,7 +47,6 @@ inline void deserialize(Ctx const& c, std::vector* el) { auto& vec = *new (static_cast(el)) std::vector(); if (size != 0 && data != nullptr) { - vec.resize(static_cast::size_type>(size)); vec.insert(begin(vec), std::make_move_iterator(data), std::make_move_iterator(data + size)); }