Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75258 - branches/quickbook-dev/tools/quickbook/src
From: dnljms_at_[hidden]
Date: 2011-11-02 04:41:13


Author: danieljames
Date: 2011-11-02 04:41:09 EDT (Wed, 02 Nov 2011)
New Revision: 75258
URL: http://svn.boost.org/trac/boost/changeset/75258

Log:
Quickbook: Fix rebase error in last commit.

In the offline version I had made some changes to string handling that I
decided not to check in. The last change relied on them.
Text files modified:
   branches/quickbook-dev/tools/quickbook/src/id_manager.cpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: branches/quickbook-dev/tools/quickbook/src/id_manager.cpp
==============================================================================
--- branches/quickbook-dev/tools/quickbook/src/id_manager.cpp (original)
+++ branches/quickbook-dev/tools/quickbook/src/id_manager.cpp 2011-11-02 04:41:09 EDT (Wed, 02 Nov 2011)
@@ -304,7 +304,7 @@
             size += prefix;
 
             if (src >= id.length()) {
- return id_;
+ return id;
             }
 
             while (src < id.length() && id[src] == '_') {
@@ -312,8 +312,8 @@
             }
 
             if (src >= id.length()) {
- id_.append('_');
- return id_;
+ id += '_';
+ return id;
             }
 
             while (src < id.length() && dst < size) {


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