This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: [libstdc++] Problems with deques (patch included)


Here's what I'm checking in (trunk).  Tested on 1686-pc-linux-gnu.



2002-07-08  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

	* include/bits/stl_deque.h (_Deque_alloc_base):  Change order of
	member declarations to avoid compiler warnings and restore 3.1 ABI.


Index: include/bits/stl_deque.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/stl_deque.h,v
retrieving revision 1.23
diff -u -3 -p -r1.23 stl_deque.h
--- include/bits/stl_deque.h	7 Jul 2002 10:15:05 -0000	1.23
+++ include/bits/stl_deque.h	8 Jul 2002 12:14:03 -0000
@@ -385,10 +385,10 @@ protected:
   _M_deallocate_map(_Tp** __p, size_t __n) 
     { _M_map_allocator.deallocate(__p, __n); }
 
-  _Tp**                _M_map;
-  size_t               _M_map_size;
   allocator_type       _M_node_allocator;
   _Map_allocator_type  _M_map_allocator;
+  _Tp**                _M_map;
+  size_t               _M_map_size;
 };
 
 /// @if maint Specialization for instanceless allocators.  @endif


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