This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[libstdc++ PATCH] Fix <tempbuf.h>
- From: Jakub Jelinek <jakub at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Fri, 22 Feb 2002 14:32:17 +0100
- Subject: [libstdc++ PATCH] Fix <tempbuf.h>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
Ok to commit?
2002-02-22 Jakub Jelinek <jakub@redhat.com>
* include/backward/tempbuf.h (get_temporary_buffer,
return_temporary_buffer): Import from std namespace,
not __gnu_cxx.
--- libstdc++-v3/include/backward/tempbuf.h.jj Sun Jan 6 10:37:53 2002
+++ libstdc++-v3/include/backward/tempbuf.h Fri Feb 22 14:38:22 2002
@@ -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 */
Jakub