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
This commit is contained in:
parent
d4fe7beb78
commit
a52906946a
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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,
|
||||
|
|
Loading…
Add table
Reference in a new issue