Skip to content

Commit

Permalink
Update ex10_14_15_16_18_19.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
shbling committed Dec 1, 2014
1 parent fb48cf2 commit 1d37c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch10/ex10_14_15_16_18_19.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ void wy_biggies_partition(std::vector<std::string> &vs, const std::vector<std::s

auto wc = std::partition(vs.begin(), vs.end(),
[sz](const std::string &s)
{return s.size() > sz;});
{return s.size() >= sz;});
std::for_each(vs.begin(),wc, [](const std::string &s)
{std::cout << s<<" ";});

Expand Down

0 comments on commit 1d37c5e

Please sign in to comment.