Commit a5290694 by Paolo Carlini Committed by Paolo Carlini

algo.h (__find_switch): Use __binder2nd.

2013-09-30  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/parallel/algo.h (__find_switch): Use __binder2nd.

From-SVN: r203040
parent d4fe7beb
2013-09-30 Paolo Carlini <paolo.carlini@oracle.com>
* include/parallel/algo.h (__find_switch): Use __binder2nd.
2013-09-30 Chris Jefferson <chris@bubblescope.net>
PR libstdc++/58437
......
......@@ -150,7 +150,9 @@ namespace __parallel
if (_GLIBCXX_PARALLEL_CONDITION(true))
{
std::binder2nd<__gnu_parallel::_EqualTo<_ValueType, const _Tp&> >
__gnu_parallel::__binder2nd<__gnu_parallel::_EqualTo<_ValueType,
const _Tp&>,
_ValueType, const _Tp&, bool>
__comp(__gnu_parallel::_EqualTo<_ValueType, const _Tp&>(), __val);
return __gnu_parallel::__find_template(
__begin, __end, __begin, __comp,
......
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