Commit a4666b2d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override on destructor

parent 97aa86eb
Pipeline #43560 passed with stage
in 10 minutes and 34 seconds
......@@ -114,7 +114,7 @@ public:
static QByteArray greeting();
explicit FakeServer(QObject *parent = nullptr);
~FakeServer();
~FakeServer() override;
/**
* Sets the encryption mode used by the server socket.
......
......@@ -28,7 +28,7 @@ public:
explicit ImapParserException(const QByteArray &what) throw() : mWhat(what) {}
explicit ImapParserException(const QString &what) throw() : mWhat(what.toUtf8()) {}
ImapParserException(const ImapParserException &other) throw() : std::exception(other), mWhat(other.what()) {}
virtual ~ImapParserException() throw() {}
~ImapParserException() throw() override {}
const char *what() const throw() override
{
return mWhat.constData();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment