mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-01 21:02:39 +08:00
refactor: remove unneeed constructors from DisplayInvalidExecption
This commit is contained in:
parent
32165f5b58
commit
38866cf2c1
@ -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
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user