aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-05-26 17:18:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-05-26 17:18:05 +0200
commit8bc13ff21fe4497743d3dadb8237d07cd0192c7f (patch)
tree08e326a4ad4d708fc1c45645749f546ab3e6ee45
parent66813b92fa040f5b56ef6407ed5cae141cdf95ef (diff)
Fix a typo
-rw-r--r--documentation/cxx/tree/guide/index.xhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/cxx/tree/guide/index.xhtml b/documentation/cxx/tree/guide/index.xhtml
index 476e7ea..c8f6157 100644
--- a/documentation/cxx/tree/guide/index.xhtml
+++ b/documentation/cxx/tree/guide/index.xhtml
@@ -1472,7 +1472,7 @@ class person_t
<pre class="c++">
person_t::middle_name_optional n ("John");
-if (n.preset ())
+if (n.present ())
{
cout &lt;&lt; n.get () &lt;&lt; endl;
}