Update src/storage/v3/shard_rsm.cpp

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

View File

@ -517,7 +517,7 @@ msgs::ReadResponses HandleReadWithOrderBy(msgs::ExpandOneRequest &&req, Shard::A
std::vector<EdgeAccessor> out_edge_ordered_accessors;
std::transform(out_ordered_edges.begin(), out_ordered_edges.end(), std::back_inserter(out_edge_ordered_accessors),
[](auto &edge_element) { return edge_element.object_acc; });
[](const auto &edge_element) { return edge_element.object_acc; });
auto label_id = src_vertex_acc.PrimaryLabel(View::NEW);
if (label_id.HasError()) {