From c2f55dc6e6f52fff87e3f977b1274b63353510d5 Mon Sep 17 00:00:00 2001
From: vl241552 <vincent.lorrain@cea.fr>
Date: Wed, 27 Sep 2023 11:29:14 +0000
Subject: [PATCH] fix warnig ~

---
 include/aidge/graphRegex/GraphParser.hpp                | 3 +++
 include/aidge/graphRegex/matchFsm/FsmEdge.hpp           | 6 ++++--
 include/aidge/graphRegex/matchFsm/FsmGraph.hpp          | 2 +-
 include/aidge/graphRegex/matchFsm/FsmNode.hpp           | 2 +-
 include/aidge/graphRegex/matchFsm/FsmRunTimeContext.hpp | 2 +-
 include/aidge/nodeTester/ConditionalParser.hpp          | 1 +
 6 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/include/aidge/graphRegex/GraphParser.hpp b/include/aidge/graphRegex/GraphParser.hpp
index d0234afbf..06d098e99 100644
--- a/include/aidge/graphRegex/GraphParser.hpp
+++ b/include/aidge/graphRegex/GraphParser.hpp
@@ -21,6 +21,8 @@ class GraphParser{
      */
     GraphParser(const std::string gRegexExpressions);
 
+    virtual ~GraphParser();
+
     /**
      * @brief AST graph creation function 
      * @return The AST tree 
@@ -82,6 +84,7 @@ class GraphParser{
     * @brief The actual token in the parce
     */
     std::shared_ptr<ParsingToken<gRegexTokenTypes>> mCurrentToken;
+
     /**
     * @brief The lexem use
     */
diff --git a/include/aidge/graphRegex/matchFsm/FsmEdge.hpp b/include/aidge/graphRegex/matchFsm/FsmEdge.hpp
index bb13e0d2a..0c9318de0 100644
--- a/include/aidge/graphRegex/matchFsm/FsmEdge.hpp
+++ b/include/aidge/graphRegex/matchFsm/FsmEdge.hpp
@@ -47,7 +47,9 @@ namespace Aidge{
 
     public:
         FsmEdge(std::shared_ptr<FsmNode>& source,std::shared_ptr<FsmNode>& dest, const std::shared_ptr<ConditionalInterpreter>  toTest);
-        virtual  ~FsmEdge() =default;
+
+        virtual  ~FsmEdge(){};
+
         FsmEdge() : weakPtr(shared_from_this()) {}
 
 
@@ -123,7 +125,7 @@ namespace Aidge{
 
         public:
         FsmEdgeUnique(std::shared_ptr<FsmNode>& source,std::shared_ptr<FsmNode>& dest, const std::shared_ptr<ConditionalInterpreter>  toTest);
-         const EdgeTestResult test(const std::shared_ptr<FsmRunTimeContext> stmContext) override;
+        const EdgeTestResult test(const std::shared_ptr<FsmRunTimeContext> stmContext) override;
     };
 
     /**
diff --git a/include/aidge/graphRegex/matchFsm/FsmGraph.hpp b/include/aidge/graphRegex/matchFsm/FsmGraph.hpp
index d2eb54847..d6ef8742d 100644
--- a/include/aidge/graphRegex/matchFsm/FsmGraph.hpp
+++ b/include/aidge/graphRegex/matchFsm/FsmGraph.hpp
@@ -24,7 +24,7 @@ private:
     std::set<std::shared_ptr<FsmEdge>> mEdges;
 public:
     FsmGraph(/* args */);
-    virtual ~FsmGraph()  = default;
+    virtual ~FsmGraph();// = default;
 
 std::shared_ptr<MatchResult> test(std::vector<NodePtr>& StartNodes);
 
diff --git a/include/aidge/graphRegex/matchFsm/FsmNode.hpp b/include/aidge/graphRegex/matchFsm/FsmNode.hpp
index 18b78fe89..6a31c20fb 100644
--- a/include/aidge/graphRegex/matchFsm/FsmNode.hpp
+++ b/include/aidge/graphRegex/matchFsm/FsmNode.hpp
@@ -57,7 +57,7 @@ namespace Aidge{
 
     public:
         FsmNode(bool isAValid,bool isAStart );
-        virtual ~FsmNode() = default;
+        virtual ~FsmNode();// = default;
         /**
          * @brief use to MAG the actual context , and return all the posible new context 
          * @details one input context can generate a multitude of contexts because a graph node
diff --git a/include/aidge/graphRegex/matchFsm/FsmRunTimeContext.hpp b/include/aidge/graphRegex/matchFsm/FsmRunTimeContext.hpp
index f1fb4b026..5c73f83be 100644
--- a/include/aidge/graphRegex/matchFsm/FsmRunTimeContext.hpp
+++ b/include/aidge/graphRegex/matchFsm/FsmRunTimeContext.hpp
@@ -61,7 +61,7 @@ namespace Aidge{
         FsmRunTimeContext(std::shared_ptr<FsmRunTimeContext> fsmRunTime);
         FsmRunTimeContext(std::shared_ptr<FsmRunTimeContext> fsmRunTime,std::shared_ptr<FsmNode> actState ,NodePtr actOpNode );
 
-        virtual ~FsmRunTimeContext()=default;
+        virtual ~FsmRunTimeContext();//=default;
 
         /**
          * @defgroup FsmRunTimeContextRejected Function for managing rejected nodes
diff --git a/include/aidge/nodeTester/ConditionalParser.hpp b/include/aidge/nodeTester/ConditionalParser.hpp
index a1d1ccad2..59041a19f 100644
--- a/include/aidge/nodeTester/ConditionalParser.hpp
+++ b/include/aidge/nodeTester/ConditionalParser.hpp
@@ -36,6 +36,7 @@ class ConditionalParser{
      */
     ConditionalParser(const std::string ConditionalExpressions);
 
+    virtual ~ConditionalParser() ;// = default;
     /**
      * @brief AST graph creation function 
      * @return The AST tree 
-- 
GitLab