Update of /cvsroot/boost/boost/boost/random
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19420
Modified Files:
mersenne_twister.hpp
Log Message:
sf.net bug #1665444: local variables should not shadow class members
Index: mersenne_twister.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/random/mersenne_twister.hpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- mersenne_twister.hpp 21 Jul 2005 22:04:31 -0000 1.20
+++ mersenne_twister.hpp 21 Feb 2007 20:11:48 -0000 1.21
@@ -120,8 +120,8 @@
{
// avoid "left shift count >= with of type" warning
result_type res = 0;
- for(int i = 0; i < w; ++i)
- res |= (1u << i);
+ for(int j = 0; j < w; ++j)
+ res |= (1u << j);
return res;
}
-------------------------------------------------------------------------
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