aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Singler <singler@ira.uka.de>2008-03-20 17:14:05 +0000
committerJohannes Singler <singler@gcc.gnu.org>2008-03-20 17:14:05 +0000
commit8894d2ba3895c47c52362137d11b1a687a694a62 (patch)
tree34a350641b54e30822370a766e06821518c19563
parent8a57e48f5b437f689420a09c93507b85153fc815 (diff)
downloadgcc-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/ChangeLog5
-rw-r--r--libstdc++-v3/include/parallel/set_operations.h14
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>