* config/locale/c_locale_generic.cc: Fix typename usage.

From-SVN: r49141
This commit is contained in:
Loren J. Rittle 2002-01-23 16:20:46 +00:00 committed by Loren J. Rittle
parent cf8002d02a
commit d419f1cdf0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-01-23 Loren Rittle <ljrittle@acm.org>
* config/locale/c_locale_generic.cc: Fix typename usage.
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_generic.cc: Fix.

View File

@ -168,7 +168,7 @@ namespace std
if (__sanity != __s && *__sanity == '\0' && errno == 0)
__v = __ld;
#else
typedef typename char_traits<char>::int_type int_type;
typedef char_traits<char>::int_type int_type;
long double __ld;
int __p = sscanf(__s, "%Lf", &__ld);
if (__p && static_cast<int_type>(__p) != char_traits<char>::eof())