effectively revert 653549b4e4

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2020-01-14 03:13:28 +00:00
parent c637654536
commit 09ff862f5e

View file

@ -66,7 +66,7 @@ void qDBusDemarshallHelper(const QDBusArgument &arg, T *t)
{ arg >> *t; }
template<typename T>
int qDBusRegisterMetaType()
int qDBusRegisterMetaType(T * /* dummy */ = Q_NULLPTR)
{
void (*mf)(QDBusArgument &, const T *) = qDBusMarshallHelper<T>;
void (*df)(const QDBusArgument &, T *) = qDBusDemarshallHelper<T>;