Add const to variable
This commit is contained in:
parent
b2050d55ce
commit
4eb673c7b9
@ -533,7 +533,7 @@ msgs::ReadResponses ShardRsm::HandleRead(msgs::ExpandOneRequest &&req) {
|
||||
std::optional<msgs::ExpandOneResultRow> maybe_result;
|
||||
|
||||
if (req.order_by.empty()) {
|
||||
auto schema = shard_->GetSchema(shard_->PrimaryLabel());
|
||||
const auto schema = shard_->GetSchema(shard_->PrimaryLabel());
|
||||
MG_ASSERT(schema);
|
||||
maybe_result =
|
||||
GetExpandOneResult(acc, src_vertex, req, maybe_filter_based_on_edge_uniquness, edge_filler, *schema);
|
||||
|
Loading…
Reference in New Issue
Block a user