Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53052 - branches/release/boost/serialization
From: ghost_at_[hidden]
Date: 2009-05-16 12:21:33


Author: vladimir_prus
Date: 2009-05-16 12:21:32 EDT (Sat, 16 May 2009)
New Revision: 53052
URL: http://svn.boost.org/trac/boost/changeset/53052

Log:
Merge: fix for missing inline on boost::serialization::throw_exception.

Text files modified:
   branches/release/boost/serialization/throw_exception.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: branches/release/boost/serialization/throw_exception.hpp
==============================================================================
--- branches/release/boost/serialization/throw_exception.hpp (original)
+++ branches/release/boost/serialization/throw_exception.hpp 2009-05-16 12:21:32 EDT (Sat, 16 May 2009)
@@ -17,8 +17,8 @@
 
 #include <boost/config.hpp>
 
-#ifdef BOOST_NO_EXCEPTIONS
-# include <exception>
+#ifndef BOOST_NO_EXCEPTIONS
+#include <exception>
 #endif
 
 namespace boost {
@@ -26,7 +26,7 @@
 
 #ifdef BOOST_NO_EXCEPTIONS
 
-void throw_exception(std::exception const & e) {
+void inline throw_exception(std::exception const & e) {
     ::boost::throw_exception(e);
 }
 


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