Commit 35762ddc authored by neverlord's avatar neverlord

renamed pmatch_each to match_each

parent f1a515ff
......@@ -184,10 +184,10 @@ auto match_each(InputIterator first, InputIterator last)
}
template<typename InputIterator, typename Projection>
auto pmatch_each(InputIterator first, InputIterator last, Projection&& proj)
-> detail::pmatch_each_helper<InputIterator, typename util::rm_ref<Projection>::type>
auto match_each(InputIterator first, InputIterator last, Projection proj)
-> detail::pmatch_each_helper<InputIterator, Projection>
{
return {first, last, std::forward<Projection>(proj)};
return {first, last, std::move(proj)};
}
} // namespace cppa
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment