build: disable `-Wnon-virtual-dtor` compiler warning

See also named-data/NFD@0a05f7aea6e56a32139a6271de1f98536153a86a

Change-Id: If93d766fa8ee2b0cb6a0eb8ff9febc2dc0a4cac0
diff --git a/.waf-tools/default-compiler-flags.py b/.waf-tools/default-compiler-flags.py
index 4aa9e9b..7746db9 100644
--- a/.waf-tools/default-compiler-flags.py
+++ b/.waf-tools/default-compiler-flags.py
@@ -158,7 +158,6 @@
         '-Wpedantic',
         '-Wenum-conversion',
         '-Wextra-semi',
-        '-Wnon-virtual-dtor',
         '-Wno-unused-parameter',
     ]
     __linkFlags = ['-Wl,-O1']
diff --git a/tests/chunks/consumer.t.cpp b/tests/chunks/consumer.t.cpp
index 126f13a..b1231dc 100644
--- a/tests/chunks/consumer.t.cpp
+++ b/tests/chunks/consumer.t.cpp
@@ -125,7 +125,7 @@
   BOOST_CHECK(output.is_equal(testStrings[2]));
 }
 
-class PipelineInterestsDummy : public PipelineInterests
+class PipelineInterestsDummy final : public PipelineInterests
 {
 public:
   using PipelineInterests::PipelineInterests;