From: Peter Schmid Date: Mon, 8 Jul 2002 12:24:52 +0000 (+0000) Subject: stl_deque.h (_Deque_alloc_base): Change order of member declarations to avoid compile... X-Git-Tag: releases/gcc-3.3.0~3913 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7766810445ed766f899299a120eaf4e221f4b684;p=thirdparty%2Fgcc.git stl_deque.h (_Deque_alloc_base): Change order of member declarations to avoid compiler warnings and restore 3.1 ABI. 2002-07-08 Peter Schmid * include/bits/stl_deque.h (_Deque_alloc_base): Change order of member declarations to avoid compiler warnings and restore 3.1 ABI. From-SVN: r55325 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index dd89bfaa69be..fbaca326bb7f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2002-07-08 Peter Schmid + + * include/bits/stl_deque.h (_Deque_alloc_base): Change order of + member declarations to avoid compiler warnings and restore 3.1 ABI. + 2002-07-08 Phil Edwards * docs/html/23_containers/howto.html: Link to dk_std::vector paper diff --git a/libstdc++-v3/include/bits/stl_deque.h b/libstdc++-v3/include/bits/stl_deque.h index cbf8ad345779..6eb6a8c17405 100644 --- a/libstdc++-v3/include/bits/stl_deque.h +++ b/libstdc++-v3/include/bits/stl_deque.h @@ -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