From 46388ad35c3a7a86bff0f536a720cb762e126cc7 Mon Sep 17 00:00:00 2001 From: jeremy Date: Fri, 28 Oct 2022 13:10:00 +0200 Subject: [PATCH] Correct compilation --- tests/simulation/shard_rsm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/simulation/shard_rsm.cpp b/tests/simulation/shard_rsm.cpp index ef15146af..dac9c26b2 100644 --- a/tests/simulation/shard_rsm.cpp +++ b/tests/simulation/shard_rsm.cpp @@ -700,7 +700,7 @@ void AttemptToExpandOneLimitAndOrderBy(ShardClient &client, uint64_t src_vertex_ std::vector order_by = { {msgs::Expression{"MG_SYMBOL_NODE.prop1"}, msgs::OrderingDirection::DESCENDING}}; - std::optional limit = 3; + size_t limit = 3; std::vector filters = {"MG_SYMBOL_NODE.prop1 != " + std::to_string(src_vertex_val)}; msgs::ExpandOneRequest expand_one_req{};