Fix up wchar_iterator comment
authorTom Tromey <tom@tromey.com>
Fri, 7 Apr 2017 03:07:00 +0000 (21:07 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 12 Apr 2017 17:16:18 +0000 (11:16 -0600)
This fixes up a comment in charset.h that has been obsolete for a
while.

gdb/ChangeLog
2017-04-12  Tom Tromey  <tom@tromey.com>

* charset.h (wchar_iterator): Fix comment.

gdb/ChangeLog
gdb/charset.h

index e1c8c311646892da98f9f8cc528f3c1ad4d08cfb..fc3bd16f277d927dda61751140cc073a5456715a 100644 (file)
@@ -1,3 +1,7 @@
+2017-04-12  Tom Tromey  <tom@tromey.com>
+
+       * charset.h (wchar_iterator): Fix comment.
+
 2017-04-12  Tom Tromey  <tom@tromey.com>
 
        * charset.c (iconv_wrapper): New class.
index 9e8ca4af3953911947b29af2bb7aa0b8f728a58f..51180e3babb1ec91db2b8cb40a1cae0e678a6e7e 100644 (file)
@@ -93,10 +93,8 @@ class wchar_iterator
      buffer.  CHARSET is the name of the character set in which INPUT is
      encoded.  WIDTH is the number of bytes in a base character of
      CHARSET.
-   
-     This function either returns a new character set iterator, or calls
-     error.  The result can be freed using a cleanup; see
-     make_cleanup_wchar_iterator.  */
+
+     This constructor can throw on error.  */
   wchar_iterator (const gdb_byte *input, size_t bytes, const char *charset,
                  size_t width);
 
This page took 0.027927 seconds and 4 git commands to generate.