refactor: remove unneeed constructors from DisplayInvalidExecption

This commit is contained in:
sithlord48 2025-08-04 22:00:35 -04:00 committed by Nick Bolton
parent 32165f5b58
commit 38866cf2c1

View file

@ -11,14 +11,11 @@
class DisplayInvalidException : public std::runtime_error class DisplayInvalidException : public std::runtime_error
{ {
#ifdef __APPLE__
public: public:
explicit DisplayInvalidException(const char *msg) : std::runtime_error(msg)
{
// do nothing
}
explicit DisplayInvalidException(const std::string &msg) : std::runtime_error(msg) explicit DisplayInvalidException(const std::string &msg) : std::runtime_error(msg)
{ {
// do nothing // do nothing
} }
#endif
}; };