From 3f866225f104b99591720c3acfed92279813b3df Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 29 Jun 2021 00:34:44 +0100 Subject: Add missing virtual destructor --- lib/output/pq/typeMapper.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/output/pq') diff --git a/lib/output/pq/typeMapper.h b/lib/output/pq/typeMapper.h index 7005e4f..fddd9e2 100644 --- a/lib/output/pq/typeMapper.h +++ b/lib/output/pq/typeMapper.h @@ -20,6 +20,7 @@ namespace MyGrate::Output::Pq { }; struct Mapping { + virtual ~Mapping() = default; virtual std::optional map(std::string_view t, std::string_view n) const = 0; }; using MappingPtr = std::unique_ptr; -- cgit v1.2.3