Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74868 - branches/release/boost/uuid
From: atompkins_at_[hidden]
Date: 2011-10-09 19:57:10


Author: atompkins
Date: 2011-10-09 19:57:09 EDT (Sun, 09 Oct 2011)
New Revision: 74868
URL: http://svn.boost.org/trac/boost/changeset/74868

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

Modified: branches/release/boost/uuid/seed_rng.hpp
==============================================================================
--- branches/release/boost/uuid/seed_rng.hpp (original)
+++ branches/release/boost/uuid/seed_rng.hpp 2011-10-09 19:57:09 EDT (Sun, 09 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