This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3, committed] Fix <backward/tempbuf.h>


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 */



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]