Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56835 - sandbox/itl/boost/validate/gentor
From: afojgo_at_[hidden]
Date: 2009-10-14 13:06:01


Author: jofaber
Date: 2009-10-14 13:06:00 EDT (Wed, 14 Oct 2009)
New Revision: 56835
URL: http://svn.boost.org/trac/boost/changeset/56835

Log:
Added qualifications for namee from namespace std.

Text files modified:
   sandbox/itl/boost/validate/gentor/randomgentor.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: sandbox/itl/boost/validate/gentor/randomgentor.hpp
==============================================================================
--- sandbox/itl/boost/validate/gentor/randomgentor.hpp (original)
+++ sandbox/itl/boost/validate/gentor/randomgentor.hpp 2009-10-14 13:06:00 EDT (Wed, 14 Oct 2009)
@@ -243,7 +243,7 @@
         static void apply(RandomGentor<itl::bits<BitsT> >& gentor)
         {
             // Set the range within which the sizes of the generated object varies.
- gentor.set_range(itl::interval<BitsT>::rightopen(0, sizeof BitsT));
+ gentor.set_range(itl::interval<BitsT>::rightopen(0, sizeof(BitsT)));
         }
     };
 
@@ -610,7 +610,7 @@
             NumberGentorT<NumericDomainT>* domainGentor = new NumberGentorT<NumericDomainT>;
             bits_gentor<BitsT>* codomainGentor = new bits_gentor<BitsT>;
             domainGentor->setRange(GentorProfileSgl_numeric_range<NumericDomainT>::get());
- codomainGentor->set_range(interval<BitsT>::closed(0, (numeric_limits<BitsT>::max)()));
+ codomainGentor->set_range(interval<BitsT>::closed(0, (std::numeric_limits<BitsT>::max)()));
             gentor.setDomainGentor(domainGentor);
             gentor.setCodomainGentor(codomainGentor);
         }
@@ -742,7 +742,7 @@
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
 
             bits_gentor<BitsT>* codomainGentor = new bits_gentor<BitsT>;
- codomainGentor->set_range(interval<BitsT>::closed(0, (numeric_limits<BitsT>::max)()));
+ codomainGentor->set_range(interval<BitsT>::closed(0, (std::numeric_limits<BitsT>::max)()));
 
             gentor.setDomainGentor(itvGentor);
             gentor.setCodomainGentor(codomainGentor);
@@ -767,7 +767,7 @@
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
 
             bits_gentor<BitsT>* codomainGentor = new bits_gentor<BitsT>;
- codomainGentor->set_range(interval<BitsT>::closed(0, (numeric_limits<BitsT>::max)()));
+ codomainGentor->set_range(interval<BitsT>::closed(0, (std::numeric_limits<BitsT>::max)()));
 
             gentor.setDomainGentor(itvGentor);
             gentor.setCodomainGentor(codomainGentor);


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