Boost logo

Boost-Commit :

From: joel_at_[hidden]
Date: 2008-07-11 08:04:17


Author: djowel
Date: 2008-07-11 08:04:17 EDT (Fri, 11 Jul 2008)
New Revision: 47309
URL: http://svn.boost.org/trac/boost/changeset/47309

Log:
fixed compiler error
Text files modified:
   branches/release/libs/spirit/test/qi/range_run.cpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: branches/release/libs/spirit/test/qi/range_run.cpp
==============================================================================
--- branches/release/libs/spirit/test/qi/range_run.cpp (original)
+++ branches/release/libs/spirit/test/qi/range_run.cpp 2008-07-11 08:04:17 EDT (Fri, 11 Jul 2008)
@@ -28,7 +28,9 @@
     int const test_size = 1000;
 
     boost::mt19937 rng;
- boost::uniform_int<> char_(int(const_min), int(const_max));
+ int min = const_min;
+ int max = const_max;
+ boost::uniform_int<> char_(min, max);
     boost::variate_generator<boost::mt19937&, boost::uniform_int<> >
        gen(rng, char_);
     boost::uniform_int<> _1of10(1, 10);


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