Skip to content

Commit

Permalink
Fixed split_by compilation error for GCC 10 (#171)
Browse files Browse the repository at this point in the history
* Fixed split_by compilation error for GCC 10
  • Loading branch information
ruanformigoni authored Apr 5, 2020
1 parent e306dee commit 89dccc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fplus/split.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ ContainerOut split_by
start = internal::add_to_iterator(stop);
if (allow_empty && start == std::end(xs))
{
*itOut = {};
*itOut = typename ContainerOut::value_type();
}
}
return result;
Expand Down

0 comments on commit 89dccc5

Please sign in to comment.