Skip to content

Commit da8a63e

Browse files
author
Daniel Kroening
authored
Merge pull request #4911 from diffblue/cleanup/range_const_return
Removed const from return types where they return by value
2 parents 3e2bea3 + e813166 commit da8a63e

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)