Update of /cvsroot/boost/boost/boost/random/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21379/detail
Modified Files:
uniform_int_float.hpp
Log Message:
sf.net bug #1665485: local variables should not shadow class members
Index: uniform_int_float.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/random/detail/uniform_int_float.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- uniform_int_float.hpp 27 Jul 2004 03:43:32 -0000 1.3
+++ uniform_int_float.hpp 21 Feb 2007 20:16:35 -0000 1.4
@@ -29,8 +29,8 @@
typedef UniformRandomNumberGenerator base_type;
typedef IntType result_type;
- uniform_int_float(base_type rng, IntType min = 0, IntType max = 0xffffffff)
- : _rng(rng), _min(min), _max(max)
+ uniform_int_float(base_type rng, IntType min_arg = 0, IntType max_arg =
0xffffffff)
+ : _rng(rng), _min(min_arg), _max(max_arg)
{
init();
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs