Skip to content

Commit 80e6bd0

Browse files
committed
Remove dtor declarations entirely
the default dtor is fine
1 parent c766d59 commit 80e6bd0

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

include/boost/property_tree/detail/file_parser_error.hpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace boost { namespace property_tree
2323
public:
2424

2525
///////////////////////////////////////////////////////////////////////
26-
// Construction & destruction
26+
// Construction
2727

2828
// Construct error
2929
file_parser_error(const std::string &msg,
@@ -34,8 +34,6 @@ namespace boost { namespace property_tree
3434
{
3535
}
3636

37-
~file_parser_error() throw() override = default;
38-
3937
///////////////////////////////////////////////////////////////////////
4038
// Data access
4139

include/boost/property_tree/exceptions.hpp

-6
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ namespace boost { namespace property_tree
3030
/// Instantiate a ptree_error instance with the given message.
3131
/// @param what The message to associate with this error.
3232
ptree_error(const std::string &what);
33-
34-
~ptree_error() throw() override = default;
3533
};
3634

3735

@@ -48,8 +46,6 @@ namespace boost { namespace property_tree
4846
template<class T> ptree_bad_data(const std::string &what,
4947
const T &data);
5048

51-
~ptree_bad_data() throw() override = default;
52-
5349
/// Retrieve the data associated with this error. This is the source
5450
/// value that failed to be translated. You need to explicitly
5551
/// specify its type.
@@ -70,8 +66,6 @@ namespace boost { namespace property_tree
7066
template<class T> ptree_bad_path(const std::string &what,
7167
const T &path);
7268

73-
~ptree_bad_path() throw() override = default;
74-
7569
/// Retrieve the invalid path. You need to explicitly specify the
7670
/// type of path.
7771
template<class T> T path() const;

0 commit comments

Comments
 (0)