Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / serialization / throw_exception.hpp
index b67618a..1672f0b 100644 (file)
@@ -26,13 +26,13 @@ namespace serialization {
 
 #ifdef BOOST_NO_EXCEPTIONS
 
-inline void throw_exception(std::exception const & e) {
+BOOST_NORETURN inline void throw_exception(std::exception const & e) {
     ::boost::throw_exception(e);
 }
 
 #else
 
-template<class E> inline void throw_exception(E const & e){
+template<class E> BOOST_NORETURN inline void throw_exception(E const & e){
     throw e;
 }