From 8c058dfeee9e2e1b492edee36741fb8f5029ffb5 Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Sat, 4 Mar 2017 23:36:24 -0500 Subject: [PATCH] Use BOOST_NOEXCEPT_OR_NOTHROW over BOOST_NOEXCEPT --- include/boost/smart_ptr/allocate_shared_array.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/smart_ptr/allocate_shared_array.hpp b/include/boost/smart_ptr/allocate_shared_array.hpp index 90c5614..6257c55 100644 --- a/include/boost/smart_ptr/allocate_shared_array.hpp +++ b/include/boost/smart_ptr/allocate_shared_array.hpp @@ -110,7 +110,8 @@ struct sp_array_count { }; template inline D* -sp_get_deleter(const boost::shared_ptr& value) BOOST_NOEXCEPT +sp_get_deleter(const + boost::shared_ptr& value) BOOST_NOEXCEPT_OR_NOTHROW { return static_cast(value._internal_get_untyped_deleter()); }