diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 742083107b0..51cf2eb1916 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2010-11-09 François Dumont + Johannes Singler + + * include/parallel/algobase.h (equal): Call parallel variant + for applicable overloads. + 2010-11-09 Paolo Carlini * include/bits/stl_tree.h (_Rb_tree<>::_M_const_cast_iter): Add diff --git a/libstdc++-v3/include/parallel/algobase.h b/libstdc++-v3/include/parallel/algobase.h index 9cc81bd2aaa..bca81cdaf22 100644 --- a/libstdc++-v3/include/parallel/algobase.h +++ b/libstdc++-v3/include/parallel/algobase.h @@ -142,8 +142,7 @@ namespace __parallel inline bool equal(_IIter1 __begin1, _IIter1 __end1, _IIter2 __begin2) { - return _GLIBCXX_STD_P::mismatch(__begin1, __end1, __begin2).first - == __end1; + return mismatch(__begin1, __end1, __begin2).first == __end1; } // Public interface @@ -152,8 +151,7 @@ namespace __parallel equal(_IIter1 __begin1, _IIter1 __end1, _IIter2 __begin2, _Predicate __pred) { - return _GLIBCXX_STD_P::mismatch(__begin1, __end1, __begin2, __pred).first - == __end1; + return mismatch(__begin1, __end1, __begin2, __pred).first == __end1; } // Sequential fallback