diff options
author | Johannes Singler <singler@ira.uka.de> | 2008-03-20 17:14:05 +0000 |
---|---|---|
committer | Johannes Singler <singler@gcc.gnu.org> | 2008-03-20 17:14:05 +0000 |
commit | 8894d2ba3895c47c52362137d11b1a687a694a62 (patch) | |
tree | 34a350641b54e30822370a766e06821518c19563 | |
parent | 8a57e48f5b437f689420a09c93507b85153fc815 (diff) | |
download | gcc-8894d2ba3895c47c52362137d11b1a687a694a62.zip gcc-8894d2ba3895c47c52362137d11b1a687a694a62.tar.gz gcc-8894d2ba3895c47c52362137d11b1a687a694a62.tar.bz2 |
set_operations.h: Removed superfluous set_intersection.
2008-03-20 Johannes Singler <singler@ira.uka.de>
* include/parallel/set_operations.h: Removed superfluous
set_intersection.
From-SVN: r133391
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/parallel/set_operations.h | 14 |
2 files changed, 5 insertions, 14 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d794b80..394fea7 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2008-03-20 Johannes Singler <singler@ira.uka.de> + + * include/parallel/set_operations.h: Removed superfluous + set_intersection. + 2008-03-19 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/35256 diff --git a/libstdc++-v3/include/parallel/set_operations.h b/libstdc++-v3/include/parallel/set_operations.h index 50c28d4..dccfbd8 100644 --- a/libstdc++-v3/include/parallel/set_operations.h +++ b/libstdc++-v3/include/parallel/set_operations.h @@ -500,20 +500,6 @@ template<typename InputIterator, intersection_func<InputIterator, OutputIterator, Comparator>(comp)); } - -template<typename InputIterator, typename OutputIterator> - inline OutputIterator - set_intersection(InputIterator begin1, InputIterator end1, - InputIterator begin2, InputIterator end2, - OutputIterator result) - { - typedef std::iterator_traits<InputIterator> traits_type; - typedef typename traits_type::value_type value_type; - - return set_intersection(begin1, end1, begin2, end2, result, - std::less<value_type>()); - } - template<typename InputIterator, typename OutputIterator, typename Comparator> |