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 39ec896..da96741 100644 (file)
@@ -27,6 +27,8 @@ using libvpx_test::ACMRandom;
 
 class IntraPredBase {
  public:
+  virtual ~IntraPredBase() {}
+
   virtual void TearDown() {
     libvpx_test::ClearSystemState();
   }