- use std::runtime_error instead as the constructor on std::exception is a MSVC extension

This commit is contained in:
Magnus Norddahl 2018-11-23 12:06:44 +01:00
parent bced30d1e3
commit e02367dd09

View file

@ -80,10 +80,10 @@ protected:
char m_Message[MAX_ERRORTEXT];
};
class CNoRunExit : public std::exception
class CNoRunExit : public std::runtime_error
{
public:
CNoRunExit() : std::exception("NoRunExit")
CNoRunExit() : std::runtime_error("NoRunExit")
{
}
};