Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74771 - trunk/boost/uuid
From: atompkins_at_[hidden]
Date: 2011-10-06 20:10:02


Author: atompkins
Date: 2011-10-06 20:10:02 EDT (Thu, 06 Oct 2011)
New Revision: 74771
URL: http://svn.boost.org/trac/boost/changeset/74771

Log:
Fix for ticket #5794
Text files modified:
   trunk/boost/uuid/seed_rng.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/boost/uuid/seed_rng.hpp
==============================================================================
--- trunk/boost/uuid/seed_rng.hpp (original)
+++ trunk/boost/uuid/seed_rng.hpp 2011-10-06 20:10:02 EDT (Thu, 06 Oct 2011)
@@ -28,7 +28,7 @@
 #include <cstdlib> // for rand
 #include <cstdio> // for FILE, fopen, fread, fclose
 #include <boost/uuid/sha1.hpp>
-//#include <boost/nondet_random.hpp> //forward declare boost::random_device
+//#include <boost/nondet_random.hpp> //forward declare boost::random::random_device
 
 // can't use boost::generator_iterator since boost::random number seed(Iter&, Iter)
 // functions need a last iterator
@@ -56,9 +56,9 @@
 #endif
 
 // forward declare random number generators
-namespace boost {
+namespace boost { namespace random {
 class random_device;
-} //namespace boost
+}} //namespace boost::random
 
 namespace boost {
 namespace uuids {
@@ -246,7 +246,7 @@
 
 // random_device does not / can not be seeded
 template <>
-inline void seed<boost::random_device>(boost::random_device&) {}
+inline void seed<boost::random::random_device>(boost::random::random_device&) {}
 
 // random_device does not / can not be seeded
 template <>


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