Add value as pointer
This commit is contained in:
parent
e143d68c24
commit
2ff58aa783
@ -4401,7 +4401,7 @@ inline ExecutionResult::ExecutionResult(mgp_execution_result *result, mgp_graph
|
||||
inline ExecutionHeaders ExecutionResult::Headers() const { return mgp::fetch_execution_headers(result_); };
|
||||
|
||||
inline std::optional<ExecutionRow> ExecutionResult::PullOne() const {
|
||||
auto value = mgp::MemHandlerCallback(pull_one, result_, graph_);
|
||||
auto *value = mgp::MemHandlerCallback(pull_one, result_, graph_);
|
||||
if (!value) {
|
||||
return std::nullopt;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user