Skip to content

Commit

Permalink
Fix for extensions too
Browse files Browse the repository at this point in the history
  • Loading branch information
georgthegreat committed Sep 1, 2023
1 parent 3502521 commit 929ca72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class read_shapefile_exception : public geometry::exception
: m_msg(msg)
{}

virtual char const* what() const throw()
virtual char const* what() const noexcept
{
//return "Shapefile read error";
return m_msg.what();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class shapelib_file_create_exception : public geometry::exception
: m_filename(filename)
{}

virtual char const* what() const throw()
virtual char const* what() const noexcept
{
return m_filename.c_str();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class read_wkb_exception : public geometry::exception

inline read_wkb_exception() {}

virtual char const* what() const throw()
virtual char const* what() const noexcept
{
return "Boost.Geometry Read WKB exception";
}
Expand Down

0 comments on commit 929ca72

Please sign in to comment.