mirror of
https://github.com/tristanpenman/valijson.git
synced 2024-12-12 18:20:27 +01:00
Merge pull request #121 from anishmonachan7/virtual_destructor
destructor to virtual destructor
This commit is contained in:
commit
b3b958c8c0
@ -48,7 +48,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* @brief Release memory associated with custom ConstraintBuilders
|
* @brief Release memory associated with custom ConstraintBuilders
|
||||||
*/
|
*/
|
||||||
~SchemaParser()
|
virtual ~SchemaParser()
|
||||||
{
|
{
|
||||||
for (const auto& entry : constraintBuilders) {
|
for (const auto& entry : constraintBuilders) {
|
||||||
delete entry.second;
|
delete entry.second;
|
||||||
|
Loading…
Reference in New Issue
Block a user