Merge pull request #32 from 0x4d52/master

Added an empty virtual destructor to the ConstraintVisitor class.
This commit is contained in:
Tristan Penman 2016-09-14 07:11:48 -07:00 committed by GitHub
commit 8a5282d61e

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;