Skip to content

Commit e813166

Browse files
Removed const from return types where they return by value
This must have been added by mistake as it has no effect at all.
1 parent 3e2bea3 commit e813166

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/util/range.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class map_iteratort
5353
}
5454

5555
/// Postincrement operator
56-
const map_iteratort operator++(int)
56+
map_iteratort operator++(int)
5757
{
5858
map_iteratort tmp(*this);
5959
this->operator++();
@@ -136,7 +136,7 @@ class filter_iteratort
136136
}
137137

138138
/// Postincrement operator
139-
const filter_iteratort operator++(int)
139+
filter_iteratort operator++(int)
140140
{
141141
filter_iteratort tmp(*this);
142142
this->operator++();
@@ -228,7 +228,7 @@ struct concat_iteratort
228228
}
229229

230230
/// Postincrement operator
231-
const concat_iteratort operator++(int)
231+
concat_iteratort operator++(int)
232232
{
233233
concat_iteratort tmp(first_begin, first_end, second_begin);
234234
this->operator++();
@@ -317,7 +317,7 @@ struct zip_iteratort
317317
}
318318

319319
/// Postincrement operator
320-
const zip_iteratort operator++(int)
320+
zip_iteratort operator++(int)
321321
{
322322
zip_iteratort tmp(first_begin, first_end, second_begin, second_end);
323323
this->operator++();

0 commit comments

Comments
 (0)