refactor: remove unneeed constructors from DisplayInvalidExecption
This commit is contained in:
@ -11,14 +11,11 @@
|
||||
|
||||
class DisplayInvalidException : public std::runtime_error
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
public:
|
||||
explicit DisplayInvalidException(const char *msg) : std::runtime_error(msg)
|
||||
{
|
||||
// do nothing
|
||||
}
|
||||
|
||||
explicit DisplayInvalidException(const std::string &msg) : std::runtime_error(msg)
|
||||
{
|
||||
// do nothing
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user