From: Otto Moerbeek Date: Tue, 30 Apr 2019 13:02:43 +0000 (+0200) Subject: Fix a delete call on abstract class without virtual dt clang warning. X-Git-Tag: rec-4.2.0-rc1~40^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F7765%2Fhead;p=thirdparty%2Fpdns.git Fix a delete call on abstract class without virtual dt clang warning. --- diff --git a/pdns/dnswasher.cc b/pdns/dnswasher.cc index 3ae3ea7ee3..c3da28c2d5 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; };