|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r68769 - trunk/boost/random
From: steven_at_[hidden]
Date: 2011-02-10 21:12:00
Author: steven_watanabe
Date: 2011-02-10 21:11:57 EST (Thu, 10 Feb 2011)
New Revision: 68769
URL: http://svn.boost.org/trac/boost/changeset/68769
Log:
Fix constructor.
Text files modified:
trunk/boost/random/xor_combine.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/random/xor_combine.hpp
==============================================================================
--- trunk/boost/random/xor_combine.hpp (original)
+++ trunk/boost/random/xor_combine.hpp 2011-02-10 21:11:57 EST (Thu, 10 Feb 2011)
@@ -191,7 +191,7 @@
template<class It>
xor_combine(It& first, It last) : base_type(first, last) {}
xor_combine(const URNG1 & rng1, const URNG2 & rng2)
- : _rng1(rng1), _rng2(rng2) { }
+ : base_type(rng1, rng2) { }
result_type min BOOST_PREVENT_MACRO_SUBSTITUTION () const { return (std::min)((this->base1().min)(), (this->base2().min)()); }
result_type max BOOST_PREVENT_MACRO_SUBSTITUTION () const { return (std::max)((this->base1().min)(), (this->base2().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