Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85635 - trunk/boost/exception/detail
From: emil_at_[hidden]
Date: 2013-09-10 01:44:02


Author: emildotchevski
Date: 2013-09-10 01:44:02 EDT (Tue, 10 Sep 2013)
New Revision: 85635
URL: http://svn.boost.org/trac/boost/changeset/85635

Log:
Ticket #8947, thanks Maciej Florek

Text files modified:
   trunk/boost/exception/detail/exception_ptr.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/exception/detail/exception_ptr.hpp
==============================================================================
--- trunk/boost/exception/detail/exception_ptr.hpp Tue Sep 10 01:05:41 2013 (r85634)
+++ trunk/boost/exception/detail/exception_ptr.hpp 2013-09-10 01:44:02 EDT (Tue, 10 Sep 2013) (r85635)
@@ -119,10 +119,12 @@
             {
             Exception ba;
             exception_detail::clone_impl<Exception> c(ba);
+#ifndef BOOST_EXCEPTION_DISABLE
             c <<
                 throw_function(BOOST_CURRENT_FUNCTION) <<
                 throw_file(__FILE__) <<
                 throw_line(__LINE__);
+#endif
             static exception_ptr ep(shared_ptr<exception_detail::clone_base const>(new exception_detail::clone_impl<Exception>(c)));
             return ep;
             }


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