char_traits.h (move): Reverse qualification of memmove with std::.

2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>

	* include/bits/char_traits.h (move): Reverse qualification of
	memmove with std::.
	(copy): Reverse qualification of memcpy with std::.

From-SVN: r42856
This commit is contained in:
Jeffrey Oldham 2001-06-04 16:57:04 +00:00 committed by Jeffrey D. Oldham
parent c940f36d68
commit c0e17dafb2
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
* include/bits/char_traits.h (move): Reverse qualification of
memmove with std::.
(copy): Reverse qualification of memcpy with std::.
2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
* include/bits/char_traits.h (move): Qualify memmove with std::.

View File

@ -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)