mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-11 05:24:02 +00:00
Replace virtual with override in exception::what() (extensions part)
This commit is contained in:
parent
6a1bc5e514
commit
ac9d88dc3e
@ -52,7 +52,7 @@ public:
|
|||||||
: m_msg(msg)
|
: m_msg(msg)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
virtual char const* what() const noexcept
|
char const* what() const noexcept override
|
||||||
{
|
{
|
||||||
//return "Shapefile read error";
|
//return "Shapefile read error";
|
||||||
return m_msg.what();
|
return m_msg.what();
|
||||||
|
@ -32,7 +32,7 @@ public:
|
|||||||
: m_filename(filename)
|
: m_filename(filename)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
virtual char const* what() const noexcept
|
char const* what() const noexcept override
|
||||||
{
|
{
|
||||||
return m_filename.c_str();
|
return m_filename.c_str();
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,7 @@ public:
|
|||||||
|
|
||||||
inline read_wkb_exception() {}
|
inline read_wkb_exception() {}
|
||||||
|
|
||||||
virtual char const* what() const noexcept
|
char const* what() const noexcept override
|
||||||
{
|
{
|
||||||
return "Boost.Geometry Read WKB exception";
|
return "Boost.Geometry Read WKB exception";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user