Use nullptr in qDBusRegisterMetaType
... to make user code buildable with gcc [-Werror=zero-as-null-pointer-constant]. Change-Id: Ifef52e406c1f7d5a260612ec27922d1805aea6e2 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>bb10
parent
b8dbde10a0
commit
0e168f2c4e
|
|
@ -74,7 +74,7 @@ void qDBusDemarshallHelper(const QDBusArgument &arg, T *t)
|
|||
template<typename T>
|
||||
int qDBusRegisterMetaType(
|
||||
#ifndef Q_QDOC
|
||||
T * /* dummy */ = 0
|
||||
T * /* dummy */ = nullptr
|
||||
#endif
|
||||
)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue