Added an empty virtual destructor to the ConstraintVisitor class.

This commit is contained in:
Martin Robinson 2016-09-13 10:23:07 +01:00
parent 60eba9d391
commit 2e9d147c99

View File

@ -34,7 +34,8 @@ class UniqueItemsConstraint;
class ConstraintVisitor
{
protected:
virtual ~ConstraintVisitor() {}
// Shorten type names for derived classes outside of this namespace
typedef constraints::AllOfConstraint AllOfConstraint;
typedef constraints::AnyOfConstraint AnyOfConstraint;