From 2e047fc61d5cf64721b491c5de2e3e48b265ec7d Mon Sep 17 00:00:00 2001 From: Songqing Zhang Date: Mon, 18 Dec 2023 21:31:42 +0800 Subject: [PATCH] Add a const method for GetVertexMap (#1667) Signed-off-by: songqing --- modules/graph/fragment/arrow_fragment.vineyard-mod | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/graph/fragment/arrow_fragment.vineyard-mod b/modules/graph/fragment/arrow_fragment.vineyard-mod index bf0cbea3..22c03e7a 100644 --- a/modules/graph/fragment/arrow_fragment.vineyard-mod +++ b/modules/graph/fragment/arrow_fragment.vineyard-mod @@ -580,6 +580,8 @@ class [[vineyard]] ArrowFragment iodoffset_[v_label][e_label][offset + 1]); } + const std::shared_ptr GetVertexMap() const { return vm_ptr_; } + std::shared_ptr GetVertexMap() { return vm_ptr_; } void PrepareToRunApp(const grape::CommSpec& comm_spec,