Replaced raw rethrow statements with BOOST_RETHROW

This commit is contained in:
Adam Romanek
2015-01-07 13:41:41 +01:00
parent 974bb7b14d
commit 07599bd731
2 changed files with 2 additions and 2 deletions

View File

@@ -421,7 +421,7 @@ class circular_list_algorithms
BOOST_CATCH(...){ BOOST_CATCH(...){
node_traits::set_next (last_to_remove, new_f); node_traits::set_next (last_to_remove, new_f);
node_traits::set_previous(new_f, last_to_remove); node_traits::set_previous(new_f, last_to_remove);
throw; BOOST_RETHROW;
} }
BOOST_CATCH_END BOOST_CATCH_END
node_traits::set_next(last_to_remove, new_f); node_traits::set_next(last_to_remove, new_f);

View File

@@ -143,7 +143,7 @@ class common_slist_algorithms
} }
BOOST_CATCH(...){ BOOST_CATCH(...){
node_traits::set_next(last_to_remove, new_f); node_traits::set_next(last_to_remove, new_f);
throw; BOOST_RETHROW;
} }
BOOST_CATCH_END BOOST_CATCH_END
node_traits::set_next(last_to_remove, new_f); node_traits::set_next(last_to_remove, new_f);