locale_facets.tcc (num_get<_CharT, [...]): Add missing typename keyword.
* include/bits/locale_facets.tcc (num_get<_CharT, _InIter>::do_get(...)): Add missing typename keyword. From-SVN: r37513
This commit is contained in:
parent
98182da528
commit
5af655ccee
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2000-11-16 Loren J. Rittle <ljrittle@acm.org>
|
||||
|
||||
* include/bits/locale_facets.tcc (num_get<_CharT,
|
||||
_InIter>::do_get(...)): Add missing typename keyword.
|
||||
|
||||
2000-11-16 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
|
||||
|
|
|
@ -684,7 +684,8 @@ namespace std
|
|||
long double __ld;
|
||||
int __p = sscanf(__xtrc, __conv, &__ld);
|
||||
if (__p
|
||||
&& static_cast<__traits_type::int_type>(__p) != __traits_type::eof())
|
||||
&& static_cast<typename __traits_type::int_type>(__p)
|
||||
!= __traits_type::eof())
|
||||
__v = __ld;
|
||||
else
|
||||
__err |= ios_base::failbit;
|
||||
|
|
Loading…
Add table
Reference in a new issue