OSDN Git Service

* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 May 2003 14:32:52 +0000 (14:32 +0000)
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 May 2003 14:32:52 +0000 (14:32 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66523 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 0afb262..6326990 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 8a7d0b7..8099b27 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