Skip to content

Commit 16f5868

Browse files
committed
removes else after return
1 parent eb3b704 commit 16f5868

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

zip_longest.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,8 @@ class iter::impl::ZippedLongest<Container, RestContainers...> {
8888
if (this->iter != this->end) {
8989
return std::tuple_cat(
9090
std::tuple<OptType>{{*this->iter}}, *this->rest_iter);
91-
} else {
92-
return std::tuple_cat(std::tuple<OptType>{{}}, *this->rest_iter);
9391
}
92+
return std::tuple_cat(std::tuple<OptType>{{}}, *this->rest_iter);
9493
}
9594

9695
ArrowProxy<ZipIterDeref> operator->() {

0 commit comments

Comments
 (0)