Remove unnecessary reserve

This commit is contained in:
jeremy 2022-11-17 12:58:28 +01:00
parent 2f55491271
commit 38b0b308ce

View File

@ -133,7 +133,6 @@ std::vector<Element<VertexAccessor>> OrderByVertices(Shard::Accessor &acc, DbAcc
});
std::vector<Element<VertexAccessor>> ordered;
ordered.reserve(acc.ApproximateVertexCount());
for (auto it = iterable.begin(); it != iterable.end(); ++it) {
std::vector<TypedValue> properties_order_by;
properties_order_by.reserve(order_bys.size());