summaryrefslogtreecommitdiff
path: root/test/i965_jpeg_test_data.h
diff options
context:
space:
mode:
authorU. Artie Eoff <ullysses.a.eoff@intel.com>2016-09-28 13:36:03 -0700
committerSean V Kelley <seanvk@posteo.de>2016-10-03 11:30:35 -0700
commit393019134cfe9bde212b87f04362be4ad649e42c (patch)
tree1ecb67d664eda8ebfb2b69453abc060198dc4120 /test/i965_jpeg_test_data.h
parent0442e739adc068ad86f084fb8582297fccb4117e (diff)
downloadlibva-intel-driver-393019134cfe9bde212b87f04362be4ad649e42c.tar.gz
test: jpeg/enc: fix TestInput::SharedConst typedef
The ::JPEG::Encode::TestInput::SharedConst typedef should actually use a 'const TestInput' template parameter for the std::shared_ptr. Hence, the name. Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
Diffstat (limited to 'test/i965_jpeg_test_data.h')
-rw-r--r--test/i965_jpeg_test_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/i965_jpeg_test_data.h b/test/i965_jpeg_test_data.h
index 490ec941..64d5254c 100644
--- a/test/i965_jpeg_test_data.h
+++ b/test/i965_jpeg_test_data.h
@@ -397,7 +397,7 @@ namespace Encode {
{
public:
typedef std::shared_ptr<TestInput> Shared;
- typedef std::shared_ptr<TestInput> SharedConst;
+ typedef std::shared_ptr<const TestInput> SharedConst;
TestInput(const unsigned fourcc, const unsigned w, const unsigned h)
: bytes() // caller must fill this in after instantiation