Skip to content

Commit 259fc57

Browse files
authored
Use size_t for enumeration index type
1 parent f822c3d commit 259fc57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/easy_iterator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ namespace easy_iterator {
365365
* Returns an object that is iterated as `[index, value]`.
366366
*/
367367
template <class T> auto enumerate(T && t){
368-
return zip(wrap(RangeIterator(0), IterationEnd()), t);
368+
return zip(wrap(RangeIterator<size_t>(0), IterationEnd()), t);
369369
}
370370

371371
/**

0 commit comments

Comments
 (0)