locale_facets.tcc (num_get::do_get(long double)): Fix __traits_type typo.
authorBenjamin Kosnik <bkoz@redhat.com>
Thu, 29 Nov 2001 20:14:38 +0000 (20:14 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 29 Nov 2001 20:14:38 +0000 (20:14 +0000)
2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.tcc (num_get::do_get(long double)):
Fix __traits_type typo.

From-SVN: r47449

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc

index 51434565520e63374b0a50eb7d77bfa677877784..083f41237021dabdb0fb2ce0912ce48bb3210dc7 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/bits/locale_facets.tcc (num_get::do_get(long double)):
+       Fix __traits_type typo.
+
 2001-11-28  Paolo Carlini  <pcarlini@unitus.it>
 
        libstdc++/3655
index c3f1b0330a0e93f4a203166788fe26a9f889d0b7..894fa4929fc58433fe9fe0c9b789c645a6bbc2f4 100644 (file)
@@ -647,11 +647,11 @@ namespace std
         __conv = "%Lf";
 
       // Stage 3: store results.
-      typedef typename __traits_type::int_type int_type;
+      typedef typename char_traits<_CharT>::int_type int_type;
       long double __ld;
       int __p = sscanf(__xtrc, __conv, &__ld);
       if (!(__err & ios_base::failbit) && __p 
-         && static_cast<int_type>(__p) != __traits_type::eof())
+         && static_cast<int_type>(__p) != char_traits<_CharT>::eof())
         __v = __ld;
 #endif
       else