|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67030 - trunk/libs/program_options/doc
From: marshall_at_[hidden]
Date: 2010-12-05 15:17:02
Author: marshall
Date: 2010-12-05 15:16:57 EST (Sun, 05 Dec 2010)
New Revision: 67030
URL: http://svn.boost.org/trac/boost/changeset/67030
Log:
Doc fix; refs #4858
Text files modified:
trunk/libs/program_options/doc/howto.xml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/libs/program_options/doc/howto.xml
==============================================================================
--- trunk/libs/program_options/doc/howto.xml (original)
+++ trunk/libs/program_options/doc/howto.xml 2010-12-05 15:16:57 EST (Sun, 05 Dec 2010)
@@ -115,7 +115,8 @@
ss << ifs.rdbuf();
// Split the file content
char_separator<char> sep(" \n\r");
- tokenizer<char_separator<char> > tok(ss.str(), sep);
+ std::string ResponsefileContents( ss.str() );
+ tokenizer<char_separator<char> > tok(ResponsefileContents, sep);
vector<string> args;
copy(tok.begin(), tok.end(), back_inserter(args));
// Parse the file and store the options
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