Add value as pointer

This commit is contained in:
Josip Mrden 2024-03-21 15:40:54 +01:00
parent e143d68c24
commit 2ff58aa783

View File

@ -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;
}