nonio.h (__timepunct): Remove unused typedef.
authorJonathan Wakely <jwakely@redhat.com>
Sat, 29 Nov 2014 22:58:33 +0000 (22:58 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 29 Nov 2014 22:58:33 +0000 (22:58 +0000)
* include/bits/locale_facets/nonio.h (__timepunct): Remove unused
typedef.
(time_get): Likewise. Fix comments.

From-SVN: r218183

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets_nonio.h

index 3851093805974aefc88261a323624e6e300e3607..5781709284d6cceeb2aa6bf303088a93cf77ca54 100644 (file)
@@ -1,3 +1,9 @@
+2014-11-29  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/locale_facets/nonio.h (__timepunct): Remove unused
+       typedef.
+       (time_get): Likewise. Fix comments.
+
 2014-11-26  Jonathan Wakely  <jwakely@redhat.com>
            Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
index 3e2cc7feae9b7edf5b8c47252f667e210594265b..5c1eeb7928b89232ea2881055f102c45b16f1cac 100644 (file)
@@ -179,7 +179,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     public:
       // Types:
       typedef _CharT                   __char_type;
-      typedef basic_string<_CharT>     __string_type;
       typedef __timepunct_cache<_CharT>        __cache_type;
 
     protected:
@@ -374,7 +373,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       typedef _CharT                   char_type;
       typedef _InIter                  iter_type;
       //@}
-      typedef basic_string<_CharT>     __string_type;
 
       /// Numpunct facet id.
       static locale::id                        id;
@@ -393,15 +391,15 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       /**
        *  @brief  Return preferred order of month, day, and year.
        *
-       *  This function returns an enum from timebase::dateorder giving the
+       *  This function returns an enum from time_base::dateorder giving the
        *  preferred ordering if the format @a x given to time_put::put() only
        *  uses month, day, and year.  If the format @a x for the associated
        *  locale uses other fields, this function returns
-       *  timebase::dateorder::noorder.
+       *  time_base::dateorder::noorder.
        *
        *  NOTE: The library always returns noorder at the moment.
        *
-       *  @return  A member of timebase::dateorder.
+       *  @return  A member of time_base::dateorder.
       */
       dateorder
       date_order()  const
@@ -548,12 +546,12 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       /**
        *  @brief  Return preferred order of month, day, and year.
        *
-       *  This function returns an enum from timebase::dateorder giving the
+       *  This function returns an enum from time_base::dateorder giving the
        *  preferred ordering if the format @a x given to time_put::put() only
        *  uses month, day, and year.  This function is a hook for derived
        *  classes to change the value returned.
        *
-       *  @return  A member of timebase::dateorder.
+       *  @return  A member of time_base::dateorder.
       */
       virtual dateorder
       do_date_order() const;