Skip to content

Commit

Permalink
Add a const method for GetVertexMap (#1667)
Browse files Browse the repository at this point in the history
Signed-off-by: songqing <[email protected]>
  • Loading branch information
songqing authored Dec 18, 2023
1 parent 674bb58 commit 2e047fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/graph/fragment/arrow_fragment.vineyard-mod
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,8 @@ class [[vineyard]] ArrowFragment
iodoffset_[v_label][e_label][offset + 1]);
}

const std::shared_ptr<vertex_map_t> GetVertexMap() const { return vm_ptr_; }

std::shared_ptr<vertex_map_t> GetVertexMap() { return vm_ptr_; }

void PrepareToRunApp(const grape::CommSpec& comm_spec,
Expand Down

0 comments on commit 2e047fc

Please sign in to comment.