This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
libboost152/libboost-1.39.0-no_exceptions.patch

22 lines
550 B
Diff
Raw Permalink Normal View History

Index: throw_exception.hpp
===================================================================
--- boost/serialization/throw_exception.hpp (revision 52381)
+++ boost/serialization/throw_exception.hpp (working copy)
@@ -17,7 +17,7 @@
#include <boost/config.hpp>
-#ifdef BOOST_NO_EXCEPTIONS
+#ifndef BOOST_NO_EXCEPTIONS
# include <exception>
#endif
@@ -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);
}