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 --- src/client/QXmppInvokable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/QXmppInvokable.cpp') diff --git a/src/client/QXmppInvokable.cpp b/src/client/QXmppInvokable.cpp index a70378f4..91c646db 100644 --- a/src/client/QXmppInvokable.cpp +++ b/src/client/QXmppInvokable.cpp @@ -58,7 +58,7 @@ QVariant QXmppInvokable::dispatch( const QByteArray & method, const QList< QVari const char *typeName = metaObject()->method(idx).typeName(); int resultType = QMetaType::type(typeName); - void *result = QMetaType::create(resultType, 0); + void *result = QMetaType::create(resultType, nullptr); QGenericReturnArgument ret( typeName, result ); QList genericArgs; -- cgit v1.2.3