aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Oldham <oldham@codesourcery.com>2001-06-04 16:57:04 +0000
committerJeffrey D. Oldham <oldham@gcc.gnu.org>2001-06-04 16:57:04 +0000
commitc0e17dafb20439163ac878a14cf41ec9b4fec08e (patch)
tree5c25494467ebd3ffb6d9a3fb100d6ad8b0aa3284
parentc940f36d6862730e5ef8576dd48dfc57868b99ab (diff)
downloadgcc-c0e17dafb20439163ac878a14cf41ec9b4fec08e.zip
gcc-c0e17dafb20439163ac878a14cf41ec9b4fec08e.tar.gz
gcc-c0e17dafb20439163ac878a14cf41ec9b4fec08e.tar.bz2
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
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/include/bits/char_traits.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 0abbf73..3688ab3 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,11 @@
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::.
(copy): Qualify memcpy with std::.
* testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
diff --git a/libstdc++-v3/include/bits/char_traits.h b/libstdc++-v3/include/bits/char_traits.h
index 73cce51..b98a304 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)