aboutsummaryrefslogtreecommitdiff
path: root/tests/util.h
diff options
context:
space:
mode:
authorJonah BrĂ¼chert <jbb.prv@gmx.de>2019-05-10 22:31:48 +0200
committerLNJ <lnj@kaidan.im>2019-09-08 14:07:00 +0200
commitb18a57daa33f0fefa5f4c63aa7f448b48d302e0d (patch)
tree8682c7ea44b834a2910035049238e8628db552a0 /tests/util.h
parent35256b7d95374717905f8ac8d4d524c4b691389e (diff)
downloadqxmpp-b18a57daa33f0fefa5f4c63aa7f448b48d302e0d.tar.gz
Modernize codebase using clang-tidy
Using the following checks: * modernize-use-nullptr * modernize-use-override * modernize-use-using * modernize-use-bool-literals
Diffstat (limited to 'tests/util.h')
-rw-r--r--tests/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/util.h b/tests/util.h
index d0c55e89..91f59c61 100644
--- a/tests/util.h
+++ b/tests/util.h
@@ -57,7 +57,7 @@ public:
};
/// Retrieves the password for the given username.
- QXmppPasswordReply::Error getPassword(const QXmppPasswordRequest &request, QString &password)
+ QXmppPasswordReply::Error getPassword(const QXmppPasswordRequest &request, QString &password) override
{
if (m_credentials.contains(request.username()))
{
@@ -69,7 +69,7 @@ public:
};
/// Returns whether getPassword() is enabled.
- bool hasGetPassword() const
+ bool hasGetPassword() const override
{
return true;
};