Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84093 - trunk/boost/geometry/index/detail
From: adam.wulkiewicz_at_[hidden]
Date: 2013-04-30 10:02:55


Author: awulkiew
Date: 2013-04-30 10:02:54 EDT (Tue, 30 Apr 2013)
New Revision: 84093
URL: http://svn.boost.org/trac/boost/changeset/84093

Log:
geometry.index: fixed error for BOOST_NO_EXCEPTION.
Text files modified:
   trunk/boost/geometry/index/detail/exception.hpp | 2 --
   1 files changed, 0 insertions(+), 2 deletions(-)

Modified: trunk/boost/geometry/index/detail/exception.hpp
==============================================================================
--- trunk/boost/geometry/index/detail/exception.hpp (original)
+++ trunk/boost/geometry/index/detail/exception.hpp 2013-04-30 10:02:54 EDT (Tue, 30 Apr 2013)
@@ -55,14 +55,12 @@
 
 inline void throw_invalid_argument(const char * str)
 {
- throw std::invalid_argument(str);
     BOOST_ASSERT_MSG(!"invalid_argument thrown", str);
     std::abort();
 }
 
 inline void throw_length_error(const char * str)
 {
- throw std::length_error(str);
     BOOST_ASSERT_MSG(!"length_error thrown", str);
     std::abort();
 }


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