|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r56199 - trunk/libs/property_tree/doc
From: sebastian.redl_at_[hidden]
Date: 2009-09-14 18:24:12
Author: cornedbee
Date: 2009-09-14 18:24:10 EDT (Mon, 14 Sep 2009)
New Revision: 56199
URL: http://svn.boost.org/trac/boost/changeset/56199
Log:
Add needed headers to tutorial.
Text files modified:
trunk/libs/property_tree/doc/tutorial.qbk | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Modified: trunk/libs/property_tree/doc/tutorial.qbk
==============================================================================
--- trunk/libs/property_tree/doc/tutorial.qbk (original)
+++ trunk/libs/property_tree/doc/tutorial.qbk 2009-09-14 18:24:10 EDT (Mon, 14 Sep 2009)
@@ -44,6 +44,9 @@
member functions. Let's first deal with load(). It contains just 7 lines of
code, although it does all the necessary things, including error reporting:
+ #include <boost/property_tree/ptree.hpp>
+ #include <boost/property_tree/xml_parser.hpp>
+
// Loads debug_settings structure from the specified XML file
void debug_settings::load(const std::string &filename)
{
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk