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 --- examples/example_5_rpcInterface/remoteinterface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/example_5_rpcInterface') diff --git a/examples/example_5_rpcInterface/remoteinterface.h b/examples/example_5_rpcInterface/remoteinterface.h index cc1fb9e8..9c63d3f8 100644 --- a/examples/example_5_rpcInterface/remoteinterface.h +++ b/examples/example_5_rpcInterface/remoteinterface.h @@ -7,9 +7,9 @@ class RemoteInterface : public QXmppInvokable { Q_OBJECT public: - RemoteInterface(QObject *parent = 0); + RemoteInterface(QObject *parent = nullptr); - bool isAuthorized( const QString &jid ) const; + bool isAuthorized( const QString &jid ) const override; // RPC Interface public slots: -- cgit v1.2.3