From 0b19ebe7b239a8e685832c0a5c316e75cd4c557b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 4 Sep 2017 09:16:59 -0400 Subject: IMAGE: Fix shadowing warning --- image/codecs/indeo/get_bits.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'image/codecs') diff --git a/image/codecs/indeo/get_bits.h b/image/codecs/indeo/get_bits.h index f972e68ae0..a930f43cb5 100644 --- a/image/codecs/indeo/get_bits.h +++ b/image/codecs/indeo/get_bits.h @@ -35,10 +35,8 @@ class GetBits : public Common::BitStreamMemory8LSB { public: /** * Constructor - * @param stream Source stream to reader from - * @param disposeAfterUse Whether to destroy stream in destructor */ - GetBits(const uint8 *ptr, uint32 size) : Common::BitStreamMemory8LSB(new Common::BitStreamMemoryStream(ptr, size), DisposeAfterUse::YES) {} + GetBits(const byte *dataPtr, uint32 dataSize) : Common::BitStreamMemory8LSB(new Common::BitStreamMemoryStream(dataPtr, dataSize), DisposeAfterUse::YES) {} /** * The number of bits left -- cgit v1.2.3