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]

[PATCH] Fix libstdc++/14647 bit_vector does not work


I committed to the mainline this as Gaby approved it in the bug.
I will be committing this once Mark approves it for 3.4.0.


Thanks, Andrew Pinski


2004-03-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>


        PR libstdc++/14647
        * include/backward/bvector.h (bit_vector): Allocator is in std
        namespace.


Index: include/backward/bvector.h =================================================================== RCS file: /cvs/gcc/gcc/libstdc++-v3/include/backward/bvector.h,v retrieving revision 1.11 diff -u -p -r1.11 bvector.h --- include/backward/bvector.h 29 Jan 2004 00:18:38 -0000 1.11 +++ include/backward/bvector.h 19 Mar 2004 14:52:40 -0000 @@ -59,7 +59,7 @@ #include "backward_warning.h" #include <vector>

-typedef std::vector<bool, allocator<bool> > bit_vector;
+typedef std::vector<bool, std::allocator<bool> > bit_vector;

#endif /* _BACKWARD_BVECTOR_H */



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