diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-19 09:33:23 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-19 09:33:23 +0000 |
commit | 657ea16b788f299f5b0abb1515555ee760323634 (patch) | |
tree | 346e24edd235cd79a02a3a2e8d9a78f5b38711f8 /libstdc++-v3/src/string-inst.cc | |
parent | 9affc23dd3c534dccd9f0dae9b357fca85a4d62d (diff) | |
download | gcc-657ea16b788f299f5b0abb1515555ee760323634.tar.gz |
2000-05-18 Chip Salzenberg <chip@valinux.com>
* bits/ostream.tcc (_S_pad_char): Function template should not be
static.
* bits/streambuf.tcc (_S_copy_streambufs): Likewise.
* src/string-inst.cc (__destroy_aux): Instantiate for string*.
2000-05-18 Nathan C. Myers <ncm@cantrip.org>
* mkcshadow: Change C_Swamp to C_legacy.
* shadow/*: Same.
* shadow/bits/*: Same.
s/C_Swamp/C_legacy/g
s/SWAMP/LEGACY/g
s/_Shadow/_shadow/g
2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
* bits/locale_facets.tcc (num_get::_M_extract): Change char* to
const char*.
* src/string-inst.cc (string::_S_find): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34018 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/src/string-inst.cc')
-rw-r--r-- | libstdc++-v3/src/string-inst.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/src/string-inst.cc b/libstdc++-v3/src/string-inst.cc index e58a6c640c2..d50b1137e49 100644 --- a/libstdc++-v3/src/string-inst.cc +++ b/libstdc++-v3/src/string-inst.cc @@ -63,6 +63,7 @@ namespace std template S::basic_string(S const&); template S::_Rep* S::_Rep::_S_create(size_t, S::allocator_type const&); template void S::_Rep::_M_destroy(S::allocator_type const&) throw(); + template void __destroy_aux(S*, S*, __false_type); #endif #ifdef CTORNC @@ -287,7 +288,7 @@ namespace std const char* string::_S_find(const char* __beg, const char* __end, char __c) { - char* __retval = strchr(__beg, __c); + const char* __retval = strchr(__beg, __c); return (__retval ? __retval : __end); } #else |