Commit 3612c9ef by Michael Ritzert Committed by Loren J. Rittle

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

From-SVN: r66523
parent d219f3ff
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment