OSDN Git Service

test: jpeg/enc: fix TestInput::SharedConst typedef
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Wed, 28 Sep 2016 20:36:03 +0000 (13:36 -0700)
committerSean V Kelley <seanvk@posteo.de>
Mon, 3 Oct 2016 18:30:35 +0000 (11:30 -0700)
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>
test/i965_jpeg_test_data.h

index 490ec94..64d5254 100644 (file)
@@ -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