diff options
author | Michael Ritzert <Ritzert@t-online.de> | 2003-05-06 14:32:52 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2003-05-06 14:32:52 +0000 |
commit | 3612c9efbb5409dff4cc71c7908ecaa47a9ddf22 (patch) | |
tree | f6656e7fc29bce93739ddfd9afb85b40b27ff3b9 | |
parent | d219f3ff2f12960bf2d2e2197312318696c21d9e (diff) | |
download | gcc-3612c9efbb5409dff4cc71c7908ecaa47a9ddf22.zip gcc-3612c9efbb5409dff4cc71c7908ecaa47a9ddf22.tar.gz gcc-3612c9efbb5409dff4cc71c7908ecaa47a9ddf22.tar.bz2 |
* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
From-SVN: r66523
-rw-r--r-- | libstdc++-v3/ChangeLog | 3 | ||||
-rw-r--r-- | 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 0afb262..6326990 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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. diff --git a/libstdc++-v3/include/ext/stl_rope.h b/libstdc++-v3/include/ext/stl_rope.h index 8a7d0b7..8099b27 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 |