[gstreamermm: 2/3] Change the parameter names of constructors, to prevent member shadowing in iterator.hg



commit 757d06faa5e94b55f090edce962a7b4a82a9b38a
Author: medithe <mail wuehrer net>
Date:   Tue Jul 10 06:56:34 2018 +0000

    Change the parameter names of constructors, to prevent member shadowing in iterator.hg

 gstreamer/src/iterator.hg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gstreamer/src/iterator.hg b/gstreamer/src/iterator.hg
index f76c34d..7792d74 100644
--- a/gstreamer/src/iterator.hg
+++ b/gstreamer/src/iterator.hg
@@ -261,11 +261,11 @@ IteratorBase<CppType>::IteratorBase(const IteratorBase<CppType>& other)
 }
 
 template<class CppType>
-IteratorBase<CppType>::IteratorBase(GstIterator* castitem, bool take_ownership)
+IteratorBase<CppType>::IteratorBase(GstIterator* castitem, bool _take_ownership)
 : current(G_VALUE_INIT),
   current_result(Gst::ITERATOR_OK),
   cobject_(castitem),
-  take_ownership(take_ownership)
+  take_ownership(_take_ownership)
 {}
 
 template<class CppType>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]