[v3, committed] Fix <backward/tempbuf.h>
Paolo Carlini
pcarlini@unitus.it
Fri Feb 22 15:42:00 GMT 2002
When get_temporary_buffer and return_temporary_buffer returned back to std::,
correcting my previous error, we forgot to updare the legacy tempbuf.h.
Ciao, Paolo.
/////////
2002-02-21 Philipp Thomas <pthomas@suse.de>
* include/backward/tempbuf.h: get_temporary_buffer and
return_temporary_buffer are in namespace std, not in __gnu_cxx.
Index: include/backward/tempbuf.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/backward/tempbuf.h,v
retrieving revision 1.8
diff -u -p -r1.8 tempbuf.h
--- tempbuf.h 2002/01/04 17:02:28 1.8
+++ tempbuf.h 2002/02/21 15:19:13
@@ -67,8 +67,8 @@
#include <bits/stl_uninitialized.h>
#include <ext/memory>
-using __gnu_cxx::get_temporary_buffer;
-using __gnu_cxx::return_temporary_buffer;
+using std::get_temporary_buffer;
+using std::return_temporary_buffer;
using __gnu_cxx::temporary_buffer;
#endif /* _CPP_BACKWARD_TEMPBUF_H */
More information about the Gcc-patches
mailing list