summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/i965_jpeg_test_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/i965_jpeg_test_data.h b/test/i965_jpeg_test_data.h
index 9128140b..813c8089 100644
--- a/test/i965_jpeg_test_data.h
+++ b/test/i965_jpeg_test_data.h
@@ -276,6 +276,8 @@ namespace Decode {
typedef std::shared_ptr<TestPattern> Shared;
typedef std::shared_ptr<const TestPattern> SharedConst;
+ virtual ~TestPattern() { }
+
virtual const ByteData& decoded() const = 0;
virtual PictureData::SharedConst encoded(unsigned) const = 0;
@@ -431,6 +433,8 @@ namespace Encode {
typedef std::shared_ptr<TestInputCreator> Shared;
typedef std::shared_ptr<const TestInputCreator> SharedConst;
+ virtual ~TestInputCreator() { }
+
TestInput::Shared create(const unsigned) const;
friend ::std::ostream& operator<<(