From: Chris Jefferson Date: Sun, 2 Jan 2005 17:50:37 +0000 (+0000) Subject: stl_algobase.h (mismatch): Correct concept check. X-Git-Tag: releases/gcc-3.4.4~346 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d18a4ac7a3307f94bf555fb6aba04a5c7efb0dc;p=thirdparty%2Fgcc.git stl_algobase.h (mismatch): Correct concept check. 2005-01-02 Chris Jefferson * include/bits/stl_algobase.h (mismatch): Correct concept check. From-SVN: r92809 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3fa534cecade..51a2de4ff7ae 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2005-01-02 Chris Jefferson + + * include/bits/stl_algobase.h (mismatch): Correct concept check. + 2005-01-01 Paolo Carlini * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include diff --git a/libstdc++-v3/include/bits/stl_algobase.h b/libstdc++-v3/include/bits/stl_algobase.h index 17c3007f1f4d..c7e8152fdf45 100644 --- a/libstdc++-v3/include/bits/stl_algobase.h +++ b/libstdc++-v3/include/bits/stl_algobase.h @@ -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);