Boost logo

Boost-Commit :

From: joel_at_[hidden]
Date: 2008-07-11 08:03:35


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

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

Modified: trunk/libs/spirit/test/qi/range_run.cpp
==============================================================================
--- trunk/libs/spirit/test/qi/range_run.cpp (original)
+++ trunk/libs/spirit/test/qi/range_run.cpp 2008-07-11 08:03:35 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