Skip to content

Commit

Permalink
removes else after return
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhaining committed Sep 8, 2015
1 parent eb3b704 commit 16f5868
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions zip_longest.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,8 @@ class iter::impl::ZippedLongest<Container, RestContainers...> {
if (this->iter != this->end) {
return std::tuple_cat(
std::tuple<OptType>{{*this->iter}}, *this->rest_iter);
} else {
return std::tuple_cat(std::tuple<OptType>{{}}, *this->rest_iter);
}
return std::tuple_cat(std::tuple<OptType>{{}}, *this->rest_iter);
}

ArrowProxy<ZipIterDeref> operator->() {
Expand Down

0 comments on commit 16f5868

Please sign in to comment.