summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/parallel
diff options
context:
space:
mode:
authorsingler <singler@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-09 15:34:58 +0000
committersingler <singler@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-09 15:34:58 +0000
commit492d3ff6bcda1a4010ece8f62494d43318f5a9bd (patch)
treee23e0624832b8bf9a1b8de2cd87fa781d81d3853 /libstdc++-v3/include/parallel
parent93fd5b3846190cc3b053d6ebf9f1522be1fdad47 (diff)
downloadppe42-gcc-492d3ff6bcda1a4010ece8f62494d43318f5a9bd.tar.gz
ppe42-gcc-492d3ff6bcda1a4010ece8f62494d43318f5a9bd.zip
2010-11-09 François Dumont <francois.cppdevs@free.fr>
Johannes Singler <singler@kit.edu> * include/parallel/algobase.h (equal): Call parallel variant for applicable overloads. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166494 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/parallel')
-rw-r--r--libstdc++-v3/include/parallel/algobase.h6
1 files changed, 2 insertions, 4 deletions
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
OpenPOWER on IntegriCloud