From d0b8b27c29b09025b71bd81bb00ed8e9548aa636 Mon Sep 17 00:00:00 2001 From: jeremy <jeremy.bailleux@memgraph.io> Date: Fri, 28 Oct 2022 12:52:37 +0200 Subject: [PATCH] Rename ordered->sorted --- src/storage/v3/shard_rsm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/storage/v3/shard_rsm.cpp b/src/storage/v3/shard_rsm.cpp index 69429493c..b4078aaad 100644 --- a/src/storage/v3/shard_rsm.cpp +++ b/src/storage/v3/shard_rsm.cpp @@ -493,9 +493,9 @@ msgs::ReadResponses HandleReadWithOrderBy(msgs::ExpandOneRequest &&req, Shard::A auto edge_filler = InitializeEdgeFillerFunction(req); auto vertex_iterable = acc.Vertices(View::OLD); - const auto ordered_vertices = OrderByElements<VertexAccessor>(acc, dba, vertex_iterable, req.order_by); + const auto sorted_vertices = OrderByElements<VertexAccessor>(acc, dba, vertex_iterable, req.order_by); - for (const auto &ordered_vertice : ordered_vertices) { + for (const auto &ordered_vertice : sorted_vertices) { // Get Vertex acc auto src_vertex_acc = ordered_vertice.object_acc;