\brief Returns the explanatory string.\r
\return Pointer to a null-terminated string with explanatory information.\r
*/\r
- virtual char const* what() const throw()\r
+ virtual char const* what() const throw() override\r
{\r
return "Boost.Geometry Centroid calculation exception";\r
}\r
\r
inline overlay_invalid_input_exception() {}\r
\r
- virtual char const* what() const throw()\r
+ virtual char const* what() const throw () override\r
{\r
return "Boost.Geometry Overlay invalid input exception";\r
}\r
virtual ~turn_info_exception() throw()\r
{}\r
\r
- virtual char const* what() const throw()\r
+ virtual char const* what() const throw() override\r
{\r
return message.c_str();\r
}\r
virtual ~inconsistent_turns_exception() throw()\r
{}\r
\r
- virtual char const* what() const throw()\r
+ virtual char const* what() const throw() override\r
{\r
return "Boost.Geometry Inconsistent Turns exception";\r
}\r
class exception : public std::exception\r
{\r
public:\r
- virtual char const* what() const throw()\r
+ virtual char const* what() const throw() override\r
{\r
return "Boost.Geometry exception";\r
}\r
\r
inline invalid_input_exception() {}\r
\r
- virtual char const* what() const throw()\r
+ virtual char const* what() const throw() override\r
{\r
return "Boost.Geometry Invalid-Input exception";\r
}\r
\r
inline empty_input_exception() {}\r
\r
- virtual char const* what() const throw()\r
+ virtual char const* what() const throw() override\r
{\r
return "Boost.Geometry Empty-Input exception";\r
}\r
\r
virtual ~read_wkt_exception() throw() {}\r
\r
- virtual const char* what() const throw()\r
+ virtual const char* what() const throw() override\r
{\r
return complete.c_str();\r
}\r
index1 = it1_.index1 ();
}
size_type index2 = (*this) ().size1 ();
- if (it2_ != it2_end_)
+ if (it2_ != it2_end_) {
if (it2_.index1 () <= i_)
++ it2_;
- if (it2_ != it2_end_) {
+ if (it2_ != it2_end_)
index2 = it2_.index1 ();
}
i_ = (std::min) (index1, index2);