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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=260936e86546731b02d04e883cf780591f095119;p=pdns Fix a delete call on abstract class without virtual dt clang warning. --- 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; };