- fixed compilation of POSIX targets

src/doomerrors.h:74:14: error: exception specification of overriding function is more lax than base version
src/posix/sdl/i_main.cpp:272:28: error: 'class std::exception' has no member named 'GetMessage'
This commit is contained in:
alexey.lysiuk 2018-11-23 15:03:37 +02:00
commit dc6ba6bd52
2 changed files with 3 additions and 3 deletions

View file

@ -71,7 +71,7 @@ public:
else
return NULL;
}
char const *what() const override
char const *what() const noexcept override
{
return m_Message;
}