Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/boost/json/array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class array
No-throw guarantee.
*/
BOOST_JSON_DECL
~array();
~array() noexcept;

//------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion include/boost/json/impl/array.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ array(detail::unchecked_array&& ua)
}

array::
~array()
~array() noexcept
{
destroy();
}
Expand Down
2 changes: 1 addition & 1 deletion include/boost/json/impl/object.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ object(detail::unchecked_object&& uo)
}

object::
~object()
~object() noexcept
{
if(sp_.is_not_shared_and_deallocate_is_trivial())
return;
Expand Down
2 changes: 1 addition & 1 deletion include/boost/json/impl/value.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
BOOST_JSON_NS_BEGIN

value::
~value()
~value() noexcept
{
switch(kind())
{
Expand Down
2 changes: 1 addition & 1 deletion include/boost/json/object.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class object
No-throw guarantee.
*/
BOOST_JSON_DECL
~object();
~object() noexcept;

//------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion include/boost/json/storage_ptr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class storage_ptr
@par Exception Safety
No-throw guarantee.
*/
~storage_ptr()
~storage_ptr() noexcept
{
release();
}
Expand Down
2 changes: 1 addition & 1 deletion include/boost/json/string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class string
@par Exception Safety
No-throw guarantee.
*/
~string()
~string() noexcept
{
impl_.destroy(sp_);
}
Expand Down
4 changes: 2 additions & 2 deletions include/boost/json/value.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class value
No-throw guarantee.
*/
BOOST_JSON_DECL
~value();
~value() noexcept;

/** Default constructor.

Expand Down Expand Up @@ -3426,7 +3426,7 @@ class key_value_pair
The value is destroyed and all internally
allocated memory is freed.
*/
~key_value_pair()
~key_value_pair() noexcept
{
auto const& sp = value_.storage();
if(sp.is_not_shared_and_deallocate_is_trivial())
Expand Down