Commit 01f9a995 by Vadim Egorov Committed by Benjamin Kosnik

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
parent e704c6bf
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment