From b18a57daa33f0fefa5f4c63aa7f448b48d302e0d Mon Sep 17 00:00:00 2001 From: Jonah BrĂ¼chert Date: Fri, 10 May 2019 22:31:48 +0200 Subject: Modernize codebase using clang-tidy Using the following checks: * modernize-use-nullptr * modernize-use-override * modernize-use-using * modernize-use-bool-literals --- tests/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/util.h') 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; }; -- cgit v1.2.3