diff options
author | crupest <crupest@outlook.com> | 2021-12-29 21:57:33 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-12-29 21:57:33 +0800 |
commit | aa923364615b77e152d532b021fe1536fcf96a50 (patch) | |
tree | 9f4a949315d0a5e53f51caee0c937d49e764f661 /include/cru/parse/ParsingAlgorithm.hpp | |
parent | 63b39863b9d567068480f9c1d59177c92a8c6169 (diff) | |
download | cru-aa923364615b77e152d532b021fe1536fcf96a50.tar.gz cru-aa923364615b77e152d532b021fe1536fcf96a50.tar.bz2 cru-aa923364615b77e152d532b021fe1536fcf96a50.zip |
...
Diffstat (limited to 'include/cru/parse/ParsingAlgorithm.hpp')
-rw-r--r-- | include/cru/parse/ParsingAlgorithm.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/parse/ParsingAlgorithm.hpp b/include/cru/parse/ParsingAlgorithm.hpp index 1ea30a80..acca159e 100644 --- a/include/cru/parse/ParsingAlgorithm.hpp +++ b/include/cru/parse/ParsingAlgorithm.hpp @@ -14,7 +14,7 @@ class ParsingAlgorithm { CRU_DELETE_COPY(ParsingAlgorithm) CRU_DELETE_MOVE(ParsingAlgorithm) - ~ParsingAlgorithm() = default; + virtual ~ParsingAlgorithm() = default; virtual bool CanHandle(Grammar* grammar) const = 0; virtual ParsingAlgorithmContext* CreateContext(Grammar* grammar) const = 0; |