From 260936e86546731b02d04e883cf780591f095119 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Tue, 30 Apr 2019 15:02:43 +0200 Subject: [PATCH] Fix a delete call on abstract class without virtual dt clang warning. --- pdns/dnswasher.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pdns/dnswasher.cc b/pdns/dnswasher.cc index 3ae3ea7ee..c3da28c2d 100644 --- a/pdns/dnswasher.cc +++ b/pdns/dnswasher.cc @@ -54,6 +54,9 @@ po::variables_map g_vm; class IPObfuscator { public: + virtual ~IPObfuscator() + { + } virtual uint32_t obf4(uint32_t orig)=0; virtual struct in6_addr obf6(const struct in6_addr& orig)=0; }; -- 2.40.0