]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
stl_algobase.h (mismatch): Correct concept check.
authorChris Jefferson <chris@bubblescope.net>
Sun, 2 Jan 2005 17:50:37 +0000 (17:50 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 2 Jan 2005 17:50:37 +0000 (17:50 +0000)
2005-01-02  Chris Jefferson  <chris@bubblescope.net>

* include/bits/stl_algobase.h (mismatch): Correct concept check.

From-SVN: r92809

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algobase.h

index 3fa534cecade2eff05e9155ce4aa131e3dd3dc19..51a2de4ff7ae2368e73d3304079baee3dcb7792f 100644 (file)
@@ -1,3 +1,7 @@
+2005-01-02  Chris Jefferson  <chris@bubblescope.net>
+
+       * include/bits/stl_algobase.h (mismatch): Correct concept check.
+
 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
 
        * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
index 17c3007f1f4d2e8db27125e44812fb384bdc6777..c7e8152fdf45669b1b0e40bba3c4d04c316e644f 100644 (file)
@@ -1,6 +1,6 @@
 // Bits and pieces used in algorithms -*- C++ -*-
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -617,9 +617,8 @@ namespace std
       // concept requirements
       __glibcxx_function_requires(_InputIteratorConcept<_InputIterator1>)
       __glibcxx_function_requires(_InputIteratorConcept<_InputIterator2>)
-      __glibcxx_function_requires(_EqualityComparableConcept<
-           typename iterator_traits<_InputIterator1>::value_type>)
-      __glibcxx_function_requires(_EqualityComparableConcept<
+      __glibcxx_function_requires(_EqualOpConcept<
+           typename iterator_traits<_InputIterator1>::value_type,
            typename iterator_traits<_InputIterator2>::value_type>)
       __glibcxx_requires_valid_range(__first1, __last1);