Skip to content
Snippets Groups Projects
Commit 09eb1743 authored by Adam Wardynski's avatar Adam Wardynski
Browse files

Add virtual destructor to MatchData

parent 0d698fad
Branches
No related merge requests found
......@@ -11,7 +11,7 @@ namespace Wccl {
* - VectorMatch, TokenMatch or AnnotationMatch.
* (empty VectorMatch should be default option)
*/
class MatchData// : boost::noncopyable
class MatchData
{
public:
......@@ -38,6 +38,8 @@ public:
virtual std::string to_raw_string() const = 0;
virtual ~MatchData() {}
protected:
virtual MatchData* clone_internal() const = 0;
};
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment