From: Jeffrey Oldham Date: Mon, 4 Jun 2001 16:57:04 +0000 (+0000) Subject: char_traits.h (move): Reverse qualification of memmove with std::. X-Git-Tag: prereleases/libstdc++-3.0.95~4032 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c0e17dafb20439163ac878a14cf41ec9b4fec08e;p=thirdparty%2Fgcc.git char_traits.h (move): Reverse qualification of memmove with std::. 2001-06-04 Jeffrey Oldham * include/bits/char_traits.h (move): Reverse qualification of memmove with std::. (copy): Reverse qualification of memcpy with std::. From-SVN: r42856 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 0abbf7387cdd..3688ab3fac94 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2001-06-04 Jeffrey Oldham + + * include/bits/char_traits.h (move): Reverse qualification of + memmove with std::. + (copy): Reverse qualification of memcpy with std::. + 2001-06-04 Jeffrey Oldham * include/bits/char_traits.h (move): Qualify memmove with std::. diff --git a/libstdc++-v3/include/bits/char_traits.h b/libstdc++-v3/include/bits/char_traits.h index 73cce5172e55..b98a304cba13 100644 --- a/libstdc++-v3/include/bits/char_traits.h +++ b/libstdc++-v3/include/bits/char_traits.h @@ -93,11 +93,11 @@ namespace std static char_type* move(char_type* __s1, const char_type* __s2, size_t __n) - { return (char_type*) std::memmove(__s1, __s2, __n * sizeof(char_type)); } + { return (char_type*) memmove(__s1, __s2, __n * sizeof(char_type)); } static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n) - { return (char_type*) std::memcpy(__s1, __s2, __n * sizeof(char_type)); } + { return (char_type*) memcpy(__s1, __s2, __n * sizeof(char_type)); } static char_type* assign(char_type* __s, size_t __n, char_type __a)