From 065c88612dbb9ef369583d19fe6d1496bf018ae0 Mon Sep 17 00:00:00 2001
From: Josip Mrden <josip.mrden@memgraph.io>
Date: Fri, 1 Mar 2024 13:21:18 +0100
Subject: [PATCH] Add another private section to QueryExecution

---
 include/mgp.hpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/mgp.hpp b/include/mgp.hpp
index b4221ae90..050ed5ce7 100644
--- a/include/mgp.hpp
+++ b/include/mgp.hpp
@@ -1602,11 +1602,13 @@ class ExecutionHeaders {
 class QueryExecution {
  private:
   friend class Map;
-  mgp_graph *graph_;
 
  public:
   QueryExecution(mgp_graph *graph);
   ExecutionResult ExecuteQuery(std::string_view query, Map params = Map()) const;
+
+ private:
+  mgp_graph *graph_;
 };
 
 class ExecutionRow {