diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-06-29 00:34:44 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-06-29 00:34:44 +0100 |
commit | 3f866225f104b99591720c3acfed92279813b3df (patch) | |
tree | 2e4e2b755b503f3847f9e74faad65fcd76a03c56 /lib/output | |
parent | Add constructor required by clang (diff) | |
download | mygrate-3f866225f104b99591720c3acfed92279813b3df.tar.bz2 mygrate-3f866225f104b99591720c3acfed92279813b3df.tar.xz mygrate-3f866225f104b99591720c3acfed92279813b3df.zip |
Add missing virtual destructor
Diffstat (limited to 'lib/output')
-rw-r--r-- | lib/output/pq/typeMapper.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<std::string_view> map(std::string_view t, std::string_view n) const = 0; }; using MappingPtr = std::unique_ptr<Mapping>; |