Update src/storage/v3/request_helper.cpp

Co-authored-by: Jure Bajic <jure.bajic@memgraph.com>
This commit is contained in:
Jeremy B 2022-10-28 13:21:48 +02:00 committed by GitHub
parent 79c2ae206f
commit 476e2670d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ std::array<std::vector<EdgeAccessor>, 2> GetEdgesFromVertex(const VertexAccessor
}
}
return std::array<std::vector<EdgeAccessor>, 2>{in_edges, out_edges};
return std::array<std::vector<EdgeAccessor>, 2>{std::move(in_edges), std::move(out_edges)};
}
} // namespace memgraph::storage::v3