]> granicus.if.org Git - libvpx/commitdiff
intrapred_test: add virtual dtor to IntraPredBase
authorJames Zern <jzern@google.com>
Sat, 22 Jun 2013 02:33:50 +0000 (19:33 -0700)
committerJames Zern <jzern@google.com>
Sat, 22 Jun 2013 02:33:50 +0000 (19:33 -0700)
classes with virtual functions should have virtual destructors

Change-Id: If54e2f8384f0bfcbf812cc727eb9d0a586173674

test/intrapred_test.cc

index 39ec89679b7fdcc02a6dc8f694bd668b585ac9b3..da96741c82bfd8c3eb9951f5db2414598ad9dcd2 100644 (file)
@@ -27,6 +27,8 @@ using libvpx_test::ACMRandom;
 
 class IntraPredBase {
  public:
+  virtual ~IntraPredBase() {}
+
   virtual void TearDown() {
     libvpx_test::ClearSystemState();
   }