Boost logo

Boost-Commit :

From: bdawes_at_[hidden]
Date: 2008-05-27 16:46:14


Author: bemandawes
Date: 2008-05-27 16:46:13 EDT (Tue, 27 May 2008)
New Revision: 45834
URL: http://svn.boost.org/trac/boost/changeset/45834

Log:
Boost.Exception now requires derivation from std::exception
Text files modified:
   trunk/libs/filesystem/test/wide_test.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/filesystem/test/wide_test.cpp
==============================================================================
--- trunk/libs/filesystem/test/wide_test.cpp (original)
+++ trunk/libs/filesystem/test/wide_test.cpp 2008-05-27 16:46:13 EDT (Tue, 27 May 2008)
@@ -107,7 +107,7 @@
     if ( convertor.out(
       state, src.c_str(), src.c_str()+src.size(), from_next, work.get(),
       work.get()+work_size, to_next ) != std::codecvt_base::ok )
- boost::throw_exception( "to_external conversion error" );
+ boost::throw_exception( std::runtime_error("to_external conversion error") );
     *to_next = '\0';
     return std::string( work.get() );
   }


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