[patch] string fix & mystery
ncm@cantrip.org
ncm@cantrip.org
Wed Apr 19 18:56:00 GMT 2000
Attached below is a fix for a bug in src/string-inst.cc.
The mystery is, why does the compiler not report the bug?
Nathan Myers
ncm@cantrip.org
-----------
Index: string-inst.cc
===================================================================
RCS file: /cvs/libstdc++/libstdc++/src/string-inst.cc,v
retrieving revision 1.12
diff -u -r1.12 string-inst.cc
--- string-inst.cc 2000/04/19 16:14:59 1.12
+++ string-inst.cc 2000/04/20 01:54:46
@@ -280,8 +280,7 @@
#ifdef CONSC
template
C*
- S::_S_construct<S::iterator>
- (S::size_type, C, const allocator<C>&);
+ S::_S_construct(S::size_type, C, S::allocator_type const&);
#endif
#ifdef FIND
More information about the Libstdc++
mailing list