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,6 +34,7 @@ class UniqueItemsConstraint;
class ConstraintVisitor class ConstraintVisitor
{ {
protected: protected:
virtual ~ConstraintVisitor() {}
// Shorten type names for derived classes outside of this namespace // Shorten type names for derived classes outside of this namespace
typedef constraints::AllOfConstraint AllOfConstraint; typedef constraints::AllOfConstraint AllOfConstraint;