diff mbox

[v3] fix typo in comments for time_get

Message ID AANLkTikxBJ5ecjNfEX6p4kFiMqqLdbYdofsXoki6joE1@mail.gmail.com
State New
Headers show

Commit Message

Jonathan Wakely Oct. 5, 2010, 8:59 p.m. UTC
The formats 'x' and 'X' are mixed up in the doxygen docs for get_time
and get_date

Committed to trunk.

        * include/bits/locale_facets_nonio.h (time_get::get_time): Doc typo.
        (time_get::get_date): Likewise.
diff mbox

Patch

Index: include/bits/locale_facets_nonio.h
===================================================================
--- include/bits/locale_facets_nonio.h	(revision 165001)
+++ include/bits/locale_facets_nonio.h	(working copy)
@@ -405,11 +405,11 @@  _GLIBCXX_BEGIN_NAMESPACE(std)
       /**
        *  @brief  Parse input time string.
        *
-       *  This function parses a time according to the format @a x and puts the
+       *  This function parses a time according to the format @a X and puts the
        *  results into a user-supplied struct tm.  The result is returned by
        *  calling time_get::do_get_time().
        *
-       *  If there is a valid time string according to format @a x, @a tm will
+       *  If there is a valid time string according to format @a X, @a tm will
        *  be filled in accordingly and the returned iterator will point to the
        *  first character beyond the time string.  If an error occurs before
        *  the end, err |= ios_base::failbit.  If parsing reads all the
@@ -430,11 +430,11 @@  _GLIBCXX_BEGIN_NAMESPACE(std)
       /**
        *  @brief  Parse input date string.
        *
-       *  This function parses a date according to the format @a X and puts the
+       *  This function parses a date according to the format @a x and puts the
        *  results into a user-supplied struct tm.  The result is returned by
        *  calling time_get::do_get_date().
        *
-       *  If there is a valid date string according to format @a X, @a tm will
+       *  If there is a valid date string according to format @a x, @a tm will
        *  be filled in accordingly and the returned iterator will point to the
        *  first character beyond the date string.  If an error occurs before
        *  the end, err |= ios_base::failbit.  If parsing reads all the