Add override keyword. Thanks @Floessie

This commit is contained in:
heckflosse
2018-11-22 16:19:16 +01:00
parent 6e4e07f8c0
commit 831e18ca45
135 changed files with 1250 additions and 1251 deletions

View File

@@ -108,8 +108,8 @@ public:
class Error: public std::exception
{
public:
Error (const Glib::ustring &msg): msg_ (msg) {}
const char *what() const throw()
explicit Error (const Glib::ustring &msg): msg_ (msg) {}
const char *what() const throw() override
{
return msg_.c_str();
}