Merge pull request #121 from anishmonachan7/virtual_destructor

destructor to virtual destructor
This commit is contained in:
Tristan Penman 2021-04-03 15:59:45 +11:00 committed by GitHub
commit b3b958c8c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ public:
/**
* @brief Release memory associated with custom ConstraintBuilders
*/
~SchemaParser()
virtual ~SchemaParser()
{
for (const auto& entry : constraintBuilders) {
delete entry.second;