diff options
author | singler <singler@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-09 15:34:58 +0000 |
---|---|---|
committer | singler <singler@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-09 15:34:58 +0000 |
commit | 492d3ff6bcda1a4010ece8f62494d43318f5a9bd (patch) | |
tree | e23e0624832b8bf9a1b8de2cd87fa781d81d3853 /libstdc++-v3/include/parallel | |
parent | 93fd5b3846190cc3b053d6ebf9f1522be1fdad47 (diff) | |
download | ppe42-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.h | 6 |
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 |