* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
authorMichael Ritzert <Ritzert@t-online.de>
Tue, 6 May 2003 14:32:52 +0000 (14:32 +0000)
committerLoren J. Rittle <ljrittle@gcc.gnu.org>
Tue, 6 May 2003 14:32:52 +0000 (14:32 +0000)
From-SVN: r66523

libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/stl_rope.h

index 0afb262ca704ea16238ad50b303be5948a207dea..63269907d0ff07294430014bc00aa8641579fe31 100644 (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.
index 8a7d0b7d5d2c053ab66731869aaeddaeb06773f3..8099b270060cd98abf725860992d877483540888 100644 (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