From b6814b7a49905b3a9685d16ba0dbe9e9216e97ca Mon Sep 17 00:00:00 2001 From: Jeremy B <97525434+42jeremy@users.noreply.github.com> Date: Fri, 28 Oct 2022 13:22:49 +0200 Subject: [PATCH] Update src/storage/v3/shard_rsm.cpp Co-authored-by: Jure Bajic --- src/storage/v3/shard_rsm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/v3/shard_rsm.cpp b/src/storage/v3/shard_rsm.cpp index 86ccbb4c9..f7b655a29 100644 --- a/src/storage/v3/shard_rsm.cpp +++ b/src/storage/v3/shard_rsm.cpp @@ -517,7 +517,7 @@ msgs::ReadResponses HandleReadWithOrderBy(msgs::ExpandOneRequest &&req, Shard::A std::vector 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()) {