Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72275 - trunk/boost/uuid
From: atompkins_at_[hidden]
Date: 2011-05-29 21:06:36


Author: atompkins
Date: 2011-05-29 21:06:35 EDT (Sun, 29 May 2011)
New Revision: 72275
URL: http://svn.boost.org/trac/boost/changeset/72275

Log:
Ticket #5570
Text files modified:
   trunk/boost/uuid/string_generator.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/uuid/string_generator.hpp
==============================================================================
--- trunk/boost/uuid/string_generator.hpp (original)
+++ trunk/boost/uuid/string_generator.hpp 2011-05-29 21:06:35 EDT (Sun, 29 May 2011)
@@ -14,6 +14,7 @@
 #include <iterator>
 #include <algorithm> // for find
 #include <stdexcept>
+#include <boost/throw_exception.hpp>
 
 #ifdef BOOST_NO_STDC_NAMESPACE
 namespace std {
@@ -174,7 +175,7 @@
     }
     
     void throw_invalid() const {
- throw std::runtime_error("invalid uuid string");
+ throw_exception(std::runtime_error("invalid uuid string"));
     }
 };
 


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