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:
parent
e704c6bf37
commit
01f9a99543
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user