summaryrefslogtreecommitdiff
path: root/i/marvin
diff options
context:
space:
mode:
Diffstat (limited to 'i/marvin')
-rw-r--r--i/marvin/src/parser/parser.cc5
-rw-r--r--i/marvin/src/parser/parser.hh2
2 files changed, 7 insertions, 0 deletions
diff --git a/i/marvin/src/parser/parser.cc b/i/marvin/src/parser/parser.cc
index 0c5a39e..4981474 100644
--- a/i/marvin/src/parser/parser.cc
+++ b/i/marvin/src/parser/parser.cc
@@ -37,6 +37,11 @@ Parser::Parser (void)
{
}
+/// Destructeur
+Parser::~Parser (void)
+{
+}
+
/// Lance le parseur sur un fichier.
void
Parser::parseFile (const std::string &file)
diff --git a/i/marvin/src/parser/parser.hh b/i/marvin/src/parser/parser.hh
index c07d645..573d5f6 100644
--- a/i/marvin/src/parser/parser.hh
+++ b/i/marvin/src/parser/parser.hh
@@ -70,6 +70,8 @@ class Parser
public:
/// Constructeur.
Parser (void);
+ /// Destructeur virtuel
+ virtual ~Parser (void);
/// Lance le parseur sur un fichier.
void parseFile (const std::string &file);
/// Lance le parseur sur une chaîne.