Update include/valijson/constraints/concrete_constraints.hpp

Co-authored-by: Tristan Penman <tristan@tristanpenman.com>
This commit is contained in:
anishmonachan7 2021-04-07 15:24:04 +02:00 committed by GitHub
parent dc6d2fe0e7
commit 03b8cccb27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -914,9 +914,10 @@ public:
freeFn(ptr); freeFn(ptr);
throw; throw;
} }
#else
// pretend to use freeFn to avoid warning in GCC 8.3
(void)freeFn;
#endif #endif
(void)freeFn;
} }
virtual bool validate(const adapters::Adapter &target, virtual bool validate(const adapters::Adapter &target,