* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.

From-SVN: r66523
This commit is contained in:
Michael Ritzert 2003-05-06 14:32:52 +00:00 committed by Loren J. Rittle
parent d219f3ff2f
commit 3612c9efbb
2 changed files with 4 additions and 2 deletions

View File

@ -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.

View File

@ -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