Skip to content
Snippets Groups Projects
Commit c2f55dc6 authored by vincent  lorrain's avatar vincent lorrain
Browse files

fix warnig ~

parent 9efaf6e6
No related branches found
No related tags found
1 merge request!14Graph regex
Pipeline #32147 failed
...@@ -21,6 +21,8 @@ class GraphParser{ ...@@ -21,6 +21,8 @@ class GraphParser{
*/ */
GraphParser(const std::string gRegexExpressions); GraphParser(const std::string gRegexExpressions);
virtual ~GraphParser();
/** /**
* @brief AST graph creation function * @brief AST graph creation function
* @return The AST tree * @return The AST tree
...@@ -82,6 +84,7 @@ class GraphParser{ ...@@ -82,6 +84,7 @@ class GraphParser{
* @brief The actual token in the parce * @brief The actual token in the parce
*/ */
std::shared_ptr<ParsingToken<gRegexTokenTypes>> mCurrentToken; std::shared_ptr<ParsingToken<gRegexTokenTypes>> mCurrentToken;
/** /**
* @brief The lexem use * @brief The lexem use
*/ */
......
...@@ -47,7 +47,9 @@ namespace Aidge{ ...@@ -47,7 +47,9 @@ namespace Aidge{
public: public:
FsmEdge(std::shared_ptr<FsmNode>& source,std::shared_ptr<FsmNode>& dest, const std::shared_ptr<ConditionalInterpreter> toTest); 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()) {} FsmEdge() : weakPtr(shared_from_this()) {}
...@@ -123,7 +125,7 @@ namespace Aidge{ ...@@ -123,7 +125,7 @@ namespace Aidge{
public: public:
FsmEdgeUnique(std::shared_ptr<FsmNode>& source,std::shared_ptr<FsmNode>& dest, const std::shared_ptr<ConditionalInterpreter> toTest); 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;
}; };
/** /**
......
...@@ -24,7 +24,7 @@ private: ...@@ -24,7 +24,7 @@ private:
std::set<std::shared_ptr<FsmEdge>> mEdges; std::set<std::shared_ptr<FsmEdge>> mEdges;
public: public:
FsmGraph(/* args */); FsmGraph(/* args */);
virtual ~FsmGraph() = default; virtual ~FsmGraph();// = default;
std::shared_ptr<MatchResult> test(std::vector<NodePtr>& StartNodes); std::shared_ptr<MatchResult> test(std::vector<NodePtr>& StartNodes);
......
...@@ -57,7 +57,7 @@ namespace Aidge{ ...@@ -57,7 +57,7 @@ namespace Aidge{
public: public:
FsmNode(bool isAValid,bool isAStart ); 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 * @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 * @details one input context can generate a multitude of contexts because a graph node
......
...@@ -61,7 +61,7 @@ namespace Aidge{ ...@@ -61,7 +61,7 @@ namespace Aidge{
FsmRunTimeContext(std::shared_ptr<FsmRunTimeContext> fsmRunTime); FsmRunTimeContext(std::shared_ptr<FsmRunTimeContext> fsmRunTime);
FsmRunTimeContext(std::shared_ptr<FsmRunTimeContext> fsmRunTime,std::shared_ptr<FsmNode> actState ,NodePtr actOpNode ); 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 * @defgroup FsmRunTimeContextRejected Function for managing rejected nodes
......
...@@ -36,6 +36,7 @@ class ConditionalParser{ ...@@ -36,6 +36,7 @@ class ConditionalParser{
*/ */
ConditionalParser(const std::string ConditionalExpressions); ConditionalParser(const std::string ConditionalExpressions);
virtual ~ConditionalParser() ;// = default;
/** /**
* @brief AST graph creation function * @brief AST graph creation function
* @return The AST tree * @return The AST tree
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment