diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-24 08:46:15 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-24 08:46:15 +0000 |
commit | 19200cc65e2074d6d795fcad5ce41b4d25181d7e (patch) | |
tree | 274e94b65e6a3f472d26ae1fee987b60d3827247 /gcc/doc/trouble.texi | |
parent | 4c079727f2a79a30b0996ee809e16f5e78025c0b (diff) | |
download | gcc-19200cc65e2074d6d795fcad5ce41b4d25181d7e.tar.gz |
2004-08-24 Jonathan Wakely <redi@gcc.gnu.org>
* doc/trouble.texi (C++ misunderstandings): Fix example code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86470 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/trouble.texi')
-rw-r--r-- | gcc/doc/trouble.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/trouble.texi b/gcc/doc/trouble.texi index 39273c33e02..a546183737c 100644 --- a/gcc/doc/trouble.texi +++ b/gcc/doc/trouble.texi @@ -1064,7 +1064,7 @@ forces it to remain until the end of the scope of the name. For example: @smallexample -string& tmp = strfunc (); +const string& tmp = strfunc (); charfunc (tmp.c_str ()); @end smallexample |