[Libva] [PATCH intel-driver 03/11] test: jpeg/enc: fix TestInput::SharedConst typedef

U. Artie Eoff ullysses.a.eoff at intel.com
Wed Sep 28 20:36:03 UTC 2016


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 at intel.com>
---
 test/i965_jpeg_test_data.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/i965_jpeg_test_data.h b/test/i965_jpeg_test_data.h
index 490ec941feb5..64d5254cd959 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
-- 
2.4.11



More information about the Libva mailing list