From 657ea16b788f299f5b0abb1515555ee760323634 Mon Sep 17 00:00:00 2001 From: bkoz Date: Fri, 19 May 2000 09:33:23 +0000 Subject: 2000-05-18 Chip Salzenberg * 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 * 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 * 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 --- libstdc++-v3/src/string-inst.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libstdc++-v3/src/string-inst.cc') 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 -- cgit v1.2.1