refactor: remove unneeed constructors from DisplayInvalidExecption
This commit is contained in:
parent
32165f5b58
commit
38866cf2c1
1 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue