diff options
author | Loren J. Rittle <ljrittle@acm.org> | 2002-09-17 01:56:06 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2002-09-17 01:56:06 +0000 |
commit | ad17a52a21392e7832aa96b950b02e970b6a390e (patch) | |
tree | fe961b8f3581984912b121600e75610bb0d1ce90 /libstdc++-v3 | |
parent | 1472e41cb31db005533692d13c807503f39f1408 (diff) | |
download | gcc-ad17a52a21392e7832aa96b950b02e970b6a390e.zip gcc-ad17a52a21392e7832aa96b950b02e970b6a390e.tar.gz gcc-ad17a52a21392e7832aa96b950b02e970b6a390e.tar.bz2 |
stl_rope.h (rope<>): Qualify dependent names with `typename'.
libstdc++/7922
* include/ext/stl_rope.h (rope<>): Qualify dependent names
with `typename'.
From-SVN: r57222
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/stl_rope.h | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ac58d51..cd67813 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2002-09-16 Loren J. Rittle <ljrittle@acm.org> + + libstdc++/7922 + * include/ext/stl_rope.h (rope<>): Qualify dependent names + with `typename'. + 2002-09-16 Richard Henderson <rth@redhat.com> * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes, diff --git a/libstdc++-v3/include/ext/stl_rope.h b/libstdc++-v3/include/ext/stl_rope.h index bb9bb47..eae2613 100644 --- a/libstdc++-v3/include/ext/stl_rope.h +++ b/libstdc++-v3/include/ext/stl_rope.h @@ -1375,7 +1375,7 @@ class rope : public _Rope_base<_CharT,_Alloc> { static _RopeLeaf* _S_new_RopeLeaf(__GC_CONST _CharT *__s, size_t __size, allocator_type __a) { - _RopeLeaf* __space = _LAllocator(__a).allocate(1); + _RopeLeaf* __space = typename _Base::_LAllocator(__a).allocate(1); return new(__space) _RopeLeaf(__s, __size, __a); } @@ -1383,14 +1383,14 @@ class rope : public _Rope_base<_CharT,_Alloc> { _RopeRep* __left, _RopeRep* __right, allocator_type __a) { - _RopeConcatenation* __space = _CAllocator(__a).allocate(1); + _RopeConcatenation* __space = typename _Base::_CAllocator(__a).allocate(1); return new(__space) _RopeConcatenation(__left, __right, __a); } static _RopeFunction* _S_new_RopeFunction(char_producer<_CharT>* __f, size_t __size, bool __d, allocator_type __a) { - _RopeFunction* __space = _FAllocator(__a).allocate(1); + _RopeFunction* __space = typename _Base::_FAllocator(__a).allocate(1); return new(__space) _RopeFunction(__f, __size, __d, __a); } @@ -1398,7 +1398,7 @@ class rope : public _Rope_base<_CharT,_Alloc> { _Rope_RopeRep<_CharT,_Alloc>* __b, size_t __s, size_t __l, allocator_type __a) { - _RopeSubstring* __space = _SAllocator(__a).allocate(1); + _RopeSubstring* __space = typename _Base::_SAllocator(__a).allocate(1); return new(__space) _RopeSubstring(__b, __s, __l, __a); } |