set_operations.h: Removed superfluous set_intersection.
authorJohannes Singler <singler@ira.uka.de>
Thu, 20 Mar 2008 17:14:05 +0000 (17:14 +0000)
committerJohannes Singler <singler@gcc.gnu.org>
Thu, 20 Mar 2008 17:14:05 +0000 (17:14 +0000)
2008-03-20  Johannes Singler  <singler@ira.uka.de>

        * include/parallel/set_operations.h: Removed superfluous
        set_intersection.

From-SVN: r133391

libstdc++-v3/ChangeLog
libstdc++-v3/include/parallel/set_operations.h

index d794b80684b75ab16575a8b73aa3ac2862eb4891..394fea7f22483a97660f1155104e6eaca712eb92 100644 (file)
@@ -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
index 50c28d48d66cadb08bafea6965af513114a84d3f..dccfbd8326235c6236ccfce9b1cc641f256ed4c1 100644 (file)
@@ -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>