Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72341 - branches/release/boost/uuid
From: atompkins_at_[hidden]
Date: 2011-06-01 19:12:22


Author: atompkins
Date: 2011-06-01 19:12:21 EDT (Wed, 01 Jun 2011)
New Revision: 72341
URL: http://svn.boost.org/trac/boost/changeset/72341

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

Modified: branches/release/boost/uuid/string_generator.hpp
==============================================================================
--- branches/release/boost/uuid/string_generator.hpp (original)
+++ branches/release/boost/uuid/string_generator.hpp 2011-06-01 19:12:21 EDT (Wed, 01 Jun 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");
+ BOOST_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