aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2010-12-06 11:57:44 +0000
committerVincent Richard <[email protected]>2010-12-06 11:57:44 +0000
commit9fa185b454ee06e3dbcb8e3f271edb80bec8cbd5 (patch)
tree863c98cdaec301b28a31eda9ad6a405c400cbbd0
parentInitialize and delete object. (diff)
downloadvmime-9fa185b454ee06e3dbcb8e3f271edb80bec8cbd5.tar.gz
vmime-9fa185b454ee06e3dbcb8e3f271edb80bec8cbd5.zip
Updated deprecated function.
-rw-r--r--doc/book/basics.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/book/basics.tex b/doc/book/basics.tex
index 30909c22..15d036d9 100644
--- a/doc/book/basics.tex
+++ b/doc/book/basics.tex
@@ -669,7 +669,7 @@ vmime::string inText = "Linux dans un t�l�phone mobile";
vmime::charset inCharset = "utf-8";
vmime::text outText;
-vmime::newFromString(inText, inCharset, &outText);
+outText.createFromString(inText, inCharset);
// 'outText' now contains 3 words:
// . <us-ascii> "Linux dans un "