2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>

* bits/char_traits.h: Fix parameter types.
        * bits/string.tcc: Avoid traits_type::move.

From-SVN: r33607
This commit is contained in:
Vadim Egorov 2000-05-02 07:11:03 +00:00 committed by Benjamin Kosnik
parent e704c6bf37
commit 01f9a99543
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ namespace std {
static int
compare(const char_type* __s1, const char_type* __s2, size_t __n)
{
for (int_type __i = 0; __i < __n; ++__i)
for (size_t __i = 0; __i < __n; ++__i)
if (!eq(__s1[__i], __s2[__i]))
return lt(__s1[__i], __s2[__i]) ? -1 : 1;
return 0;