summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/output/pq/typeMapper.h1
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>;