Skip to content

Commit 887f693

Browse files
committed
Remove uses of BOOST_SP_NOEXCEPT from allocate_local_shared_array.hpp
1 parent 93152bd commit 887f693

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

include/boost/smart_ptr/allocate_local_shared_array.hpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ namespace detail {
1717
class BOOST_SYMBOL_VISIBLE lsp_array_base
1818
: public local_counted_base {
1919
public:
20-
void set(sp_counted_base* base) BOOST_SP_NOEXCEPT {
20+
void set(sp_counted_base* base) noexcept {
2121
count_ = shared_count(base);
2222
}
2323

24-
void local_cb_destroy() BOOST_SP_NOEXCEPT BOOST_OVERRIDE {
24+
void local_cb_destroy() noexcept BOOST_OVERRIDE {
2525
shared_count().swap(count_);
2626
}
2727

2828
shared_count local_cb_get_shared_count() const
29-
BOOST_SP_NOEXCEPT BOOST_OVERRIDE {
29+
noexcept BOOST_OVERRIDE {
3030
return count_;
3131
}
3232

@@ -39,10 +39,10 @@ class lsp_array_state
3939
: public sp_array_state<A> {
4040
public:
4141
template<class U>
42-
lsp_array_state(const U& other, std::size_t size) BOOST_SP_NOEXCEPT
42+
lsp_array_state(const U& other, std::size_t size) noexcept
4343
: sp_array_state<A>(other, size) { }
4444

45-
lsp_array_base& base() BOOST_SP_NOEXCEPT {
45+
lsp_array_base& base() noexcept {
4646
return base_;
4747
}
4848

@@ -55,10 +55,10 @@ class lsp_size_array_state
5555
: public sp_size_array_state<A, N> {
5656
public:
5757
template<class U>
58-
lsp_size_array_state(const U& other, std::size_t size) BOOST_SP_NOEXCEPT
58+
lsp_size_array_state(const U& other, std::size_t size) noexcept
5959
: sp_size_array_state<A, N>(other, size) { }
6060

61-
lsp_array_base& base() BOOST_SP_NOEXCEPT {
61+
lsp_array_base& base() noexcept {
6262
return base_;
6363
}
6464

0 commit comments

Comments
 (0)