Commit 5af655cc by Loren J. Rittle Committed by Gabriel Dos Reis

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
parent 98182da5
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment