Fix for extensions too

This commit is contained in:
Yuriy Chernyshov 2023-09-01 18:58:18 +03:00
parent 3502521e0a
commit 929ca720bf
3 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ public:
: m_msg(msg) : m_msg(msg)
{} {}
virtual char const* what() const throw() virtual char const* what() const noexcept
{ {
//return "Shapefile read error"; //return "Shapefile read error";
return m_msg.what(); return m_msg.what();

View File

@ -32,7 +32,7 @@ public:
: m_filename(filename) : m_filename(filename)
{} {}
virtual char const* what() const throw() virtual char const* what() const noexcept
{ {
return m_filename.c_str(); return m_filename.c_str();
} }

View File

@ -49,7 +49,7 @@ public:
inline read_wkb_exception() {} inline read_wkb_exception() {}
virtual char const* what() const throw() virtual char const* what() const noexcept
{ {
return "Boost.Geometry Read WKB exception"; return "Boost.Geometry Read WKB exception";
} }