From c4fddd39f5d4d44af375c6cc35647d1b32edaf75 Mon Sep 17 00:00:00 2001 From: bkoz Date: Sun, 19 Aug 2001 00:29:01 +0000 Subject: [PATCH] 2001-08-18 Vladimir A Merzliakov * include/bits/locale_facets.tcc (collate::do_transform): Add typename. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45016 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/include/bits/locale_facets.tcc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c8cd76c..697cc55 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2001-08-18 Vladimir A Merzliakov + + * include/bits/locale_facets.tcc (collate::do_transform): Add typename. + 2001-08-18 Benjamin Kosnik * testsuite/22_locale/operators.cc: Add test. diff --git a/libstdc++-v3/include/bits/locale_facets.tcc b/libstdc++-v3/include/bits/locale_facets.tcc index e999ef9..088f0c5 100644 --- a/libstdc++-v3/include/bits/locale_facets.tcc +++ b/libstdc++-v3/include/bits/locale_facets.tcc @@ -1255,7 +1255,7 @@ namespace std while (__res >= __trans.size()) { // Increment size of translated string. - string_type::size_type __newsize = __trans.size() * 2; + typename string_type::size_type __newsize = __trans.size() * 2; __trans.resize(__newsize); __res = _M_transform_helper(__trans.begin().base(), __orig.c_str(), __trans.size()); -- 2.7.4