Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85049 - in branches/release: boost/iostreams libs/iostreams libs/iostreams/src
From: dnljms_at_[hidden]
Date: 2013-07-15 17:40:08


Author: danieljames
Date: 2013-07-15 17:40:08 EDT (Mon, 15 Jul 2013)
New Revision: 85049
URL: http://svn.boost.org/trac/boost/changeset/85049

Log:
Merge iostreams - fix rethrowing an exception.

Properties modified:
   branches/release/boost/iostreams/ (props changed)
   branches/release/libs/iostreams/ (props changed)
Text files modified:
   branches/release/libs/iostreams/src/mapped_file.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/release/libs/iostreams/src/mapped_file.cpp
==============================================================================
--- branches/release/libs/iostreams/src/mapped_file.cpp Mon Jul 15 17:32:45 2013 (r85048)
+++ branches/release/libs/iostreams/src/mapped_file.cpp 2013-07-15 17:40:08 EDT (Mon, 15 Jul 2013) (r85049)
@@ -344,12 +344,12 @@
 {
     try {
         try_map_file(p);
- } catch (const std::exception& e) {
+ } catch (const std::exception&) {
         if (p.hint) {
             p.hint = 0;
             try_map_file(p);
         } else {
- boost::throw_exception(e);
+ throw;
         }
     }
 }


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