Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56077 - trunk/tools/quickbook/detail
From: joel_at_[hidden]
Date: 2009-09-06 21:35:24


Author: djowel
Date: 2009-09-06 21:35:24 EDT (Sun, 06 Sep 2009)
New Revision: 56077
URL: http://svn.boost.org/trac/boost/changeset/56077

Log:
fix for msvc
Text files modified:
   trunk/tools/quickbook/detail/quickbook.hpp | 16 ++++++++--------
   1 files changed, 8 insertions(+), 8 deletions(-)

Modified: trunk/tools/quickbook/detail/quickbook.hpp
==============================================================================
--- trunk/tools/quickbook/detail/quickbook.hpp (original)
+++ trunk/tools/quickbook/detail/quickbook.hpp 2009-09-06 21:35:24 EDT (Sun, 06 Sep 2009)
@@ -25,22 +25,22 @@
             typedef bool type;
         };
         
- quickbook_range(unsigned min, unsigned max)
- : min(min), max(max) {}
+ quickbook_range(unsigned min_, unsigned max_)
+ : min_(min_), max_(max_) {}
         
         bool operator()() const {
- return qbk_version_n >= min && qbk_version_n < max;
+ return qbk_version_n >= min_ && qbk_version_n < max_;
         }
 
- unsigned min, max;
+ unsigned min_, max_;
     };
     
- inline quickbook_range qbk_since(unsigned min) {
- return quickbook_range(min, 999);
+ inline quickbook_range qbk_since(unsigned min_) {
+ return quickbook_range(min_, 999);
     }
     
- inline quickbook_range qbk_before(unsigned max) {
- return quickbook_range(0, max);
+ inline quickbook_range qbk_before(unsigned max_) {
+ return quickbook_range(0, max_);
     }
 }
 


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