Commit 21ef2595 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use directly = default here

parent 5ade357e
Pipeline #100204 passed with stage
in 3 minutes and 30 seconds
......@@ -246,9 +246,7 @@ void SmtpTest::testSendJob()
fakeServer.quit();
}
SmtpTest::SmtpTest()
{
}
SmtpTest::SmtpTest() = default;
void SmtpTest::initTestCase()
{
......
......@@ -22,9 +22,7 @@ public:
{
}
virtual ~JobPrivate()
{
}
virtual ~JobPrivate() = default;
inline SessionPrivate *sessionInternal()
{
......
......@@ -46,9 +46,7 @@ public:
{
}
~LoginJobPrivate() override
{
}
~LoginJobPrivate() override = default;
bool sasl_interact();
bool sasl_init();
......@@ -80,9 +78,7 @@ LoginJob::LoginJob(Session *session)
{
}
LoginJob::~LoginJob()
{
}
LoginJob::~LoginJob() = default;
void LoginJob::setUserName(const QString &userName)
{
......
......@@ -102,9 +102,7 @@ Session::Session(const QString &hostName, quint16 port, QObject *parent)
connect(d->m_thread, &SessionThread::sslError, d, &SessionPrivate::handleSslError);
}
Session::~Session()
{
}
Session::~Session() = default;
void Session::setUseNetworkProxy(bool useProxy)
{
......
......@@ -6,6 +6,4 @@
#include "sessionuiproxy.h"
KSmtp::SessionUiProxy::~SessionUiProxy()
{
}
KSmtp::SessionUiProxy::~SessionUiProxy() = default;
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