Skip to content

Commit c5594de

Browse files
committed
eliminates shadow warnings from imap
1 parent f6d5a06 commit c5594de

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

imap.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ namespace iter {
9191
map_func, *std::begin(zipped)));
9292

9393
// Value constructor for use only in the imap function
94-
IMap(MapFunc map_func, Containers&& ... containers) :
95-
map_func(map_func),
96-
zipped(zip(std::forward<Containers>(containers)...))
94+
IMap(MapFunc in_map_func, Containers&&... in_containers) :
95+
map_func(in_map_func),
96+
zipped(zip(std::forward<Containers>(in_containers)...))
9797
{ }
9898

9999
public:
@@ -106,8 +106,8 @@ namespace iter {
106106
ZippedIterType zipiter;
107107

108108
public:
109-
Iterator(MapFunc& map_func, ZippedIterType&& in_zipiter) :
110-
map_func(&map_func),
109+
Iterator(MapFunc& in_map_func, ZippedIterType&& in_zipiter) :
110+
map_func(&in_map_func),
111111
zipiter(std::move(in_zipiter))
112112
{ }
113113

0 commit comments

Comments
 (0)