mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 07:14:09 +08:00
* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
From-SVN: r66523
This commit is contained in:
parent
d219f3ff2f
commit
3612c9efbb
@ -1,3 +1,6 @@
|
||||
2003-05-06 Michael Ritzert <Ritzert@t-online.de>
|
||||
|
||||
* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
|
||||
2003-05-06 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
* configure.target (mips*): Use the generic atomicity.h by default.
|
||||
|
@ -500,8 +500,7 @@ struct _Rope_RopeRep : public _Rope_rep_base<_CharT,_Alloc>
|
||||
# endif
|
||||
_M_tag(__t), _M_is_balanced(__b), _M_depth(__d), _M_c_string(0)
|
||||
#ifdef __GTHREAD_MUTEX_INIT
|
||||
, _M_c_string_lock (__GTHREAD_MUTEX_INIT)
|
||||
{ }
|
||||
{ _M_c_string_lock = __GTHREAD_MUTEX_INIT; }
|
||||
#else
|
||||
{ __GTHREAD_MUTEX_INIT_FUNCTION (&_M_c_string_lock); }
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user