From 3612c9efbb5409dff4cc71c7908ecaa47a9ddf22 Mon Sep 17 00:00:00 2001 From: Michael Ritzert Date: Tue, 6 May 2003 14:32:52 +0000 Subject: [PATCH] * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak. From-SVN: r66523 --- libstdc++-v3/ChangeLog | 3 +++ libstdc++-v3/include/ext/stl_rope.h | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 0afb262ca70..63269907d0f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,6 @@ +2003-05-06 Michael Ritzert + + * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak. 2003-05-06 Richard Sandiford * configure.target (mips*): Use the generic atomicity.h by default. diff --git a/libstdc++-v3/include/ext/stl_rope.h b/libstdc++-v3/include/ext/stl_rope.h index 8a7d0b7d5d2..8099b270060 100644 --- a/libstdc++-v3/include/ext/stl_rope.h +++ b/libstdc++-v3/include/ext/stl_rope.h @@ -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 -- 2.30.2