From bfd6cf0954dc0dbf0524f4865aa48394a12abcde Mon Sep 17 00:00:00 2001 From: Daniel Scharrer Date: Thu, 29 Aug 2019 23:30:36 +0200 Subject: [PATCH] restrict: Avoid shadowing --- src/stream/restrict.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stream/restrict.hpp b/src/stream/restrict.hpp index 5d84a68..3c219ec 100644 --- a/src/stream/restrict.hpp +++ b/src/stream/restrict.hpp @@ -45,8 +45,8 @@ public: restricted_source(const restricted_source & o) : base(o.base), remaining(o.remaining) { } - restricted_source(BaseSource & base, boost::uint64_t size) - : base(base), remaining(size) { } + restricted_source(BaseSource & source, boost::uint64_t size) + : base(source), remaining(size) { } std::streamsize read(char * buffer, std::streamsize bytes) {