diff --git a/libwccl/values/matchdata.h b/libwccl/values/matchdata.h index c8bd50d85881cd127547c66d10b14866019c2b81..1062c42792ba92e2fb82c0e63aa279db0bea2d6b 100644 --- a/libwccl/values/matchdata.h +++ b/libwccl/values/matchdata.h @@ -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; };