Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73386 - trunk/tools/quickbook/src
From: dnljms_at_[hidden]
Date: 2011-07-26 16:20:05


Author: danieljames
Date: 2011-07-26 16:20:05 EDT (Tue, 26 Jul 2011)
New Revision: 73386
URL: http://svn.boost.org/trac/boost/changeset/73386

Log:
Defined id_generator::placeholder in header.
Text files modified:
   trunk/tools/quickbook/src/id_generator.cpp | 14 --------------
   trunk/tools/quickbook/src/id_generator.hpp | 15 ++++++++++++++-
   2 files changed, 14 insertions(+), 15 deletions(-)

Modified: trunk/tools/quickbook/src/id_generator.cpp
==============================================================================
--- trunk/tools/quickbook/src/id_generator.cpp (original)
+++ trunk/tools/quickbook/src/id_generator.cpp 2011-07-26 16:20:05 EDT (Tue, 26 Jul 2011)
@@ -94,20 +94,6 @@
         int count;
     };
 
- struct id_generator::placeholder
- {
- typedef std::pair<std::string const, id_generator::id> id_pair;
-
- placeholder(id_generator::categories category, id_pair& id)
- : category(category),
- id(id),
- final_id() {}
-
- id_generator::categories category;
- id_pair& id;
- std::string final_id; // Set in the second pass.
- };
-
     id_generator::id_generator()
     {
     }

Modified: trunk/tools/quickbook/src/id_generator.hpp
==============================================================================
--- trunk/tools/quickbook/src/id_generator.hpp (original)
+++ trunk/tools/quickbook/src/id_generator.hpp 2011-07-26 16:20:05 EDT (Tue, 26 Jul 2011)
@@ -33,8 +33,21 @@
     private:
 
         struct id;
- struct placeholder;
         typedef boost::unordered_map<std::string, id> placeholder_map;
+
+ struct placeholder
+ {
+ typedef std::pair<std::string const, id_generator::id> id_pair;
+
+ placeholder(id_generator::categories category, id_pair& id)
+ : category(category),
+ id(id),
+ final_id() {}
+
+ id_generator::categories category;
+ id_pair& id;
+ std::string final_id; // Set in the second pass.
+ };
         
         placeholder_map ids_;
         std::deque<placeholder> placeholders_;


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