From cb843ee66405c53d00fe5bf0f4579ac9a7e0a64c Mon Sep 17 00:00:00 2001 From: Antonio Filipovic <61245998+antoniofilipovic@users.noreply.github.com> Date: Tue, 27 Jun 2023 10:07:33 +0200 Subject: [PATCH] Fix multiple include error on mgp.hpp (#1043) --- include/mgp.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/mgp.hpp b/include/mgp.hpp index d5df28d9b..414b818c9 100644 --- a/include/mgp.hpp +++ b/include/mgp.hpp @@ -3446,7 +3446,8 @@ inline mgp_type *Return::GetMGPType() const { // do not enter namespace detail { -void AddParamsReturnsToProc(mgp_proc *proc, std::vector ¶meters, const std::vector &returns) { +inline void AddParamsReturnsToProc(mgp_proc *proc, std::vector ¶meters, + const std::vector &returns) { for (const auto ¶meter : parameters) { const auto *parameter_name = parameter.name.data(); if (!parameter.optional) {