]> granicus.if.org Git - pdns/commitdiff
Fix a delete call on abstract class without virtual dt clang warning.
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 30 Apr 2019 13:02:43 +0000 (15:02 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 30 Apr 2019 13:03:52 +0000 (15:03 +0200)
pdns/dnswasher.cc

index 3ae3ea7ee3886043f7fdf6c37509ea630cd09bb7..c3da28c2d595845a749e49d34922b9b72779ce00 100644 (file)
@@ -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;
 };