mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
remove unused QDBusPendingReplyTypes::metaTypeFor<T> argument
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
f1064987fd
commit
5731abbf80
1 changed files with 3 additions and 3 deletions
|
@ -69,10 +69,10 @@ namespace QDBusPendingReplyTypes {
|
|||
typedef T1 Type;
|
||||
};
|
||||
|
||||
template<typename T1> inline int metaTypeFor(T1 * = 0)
|
||||
template<typename T1> inline int metaTypeFor()
|
||||
{ return qMetaTypeId<T1>(); }
|
||||
// specialize for QVariant, allowing it to be used in place of QDBusVariant
|
||||
template<> inline int metaTypeFor<QVariant>(QVariant *)
|
||||
template<> inline int metaTypeFor<QVariant>()
|
||||
{ return qMetaTypeId<QDBusVariant>(); }
|
||||
|
||||
template<typename T1, typename T2, typename T3, typename T4,
|
||||
|
@ -83,7 +83,7 @@ namespace QDBusPendingReplyTypes {
|
|||
enum { Total = Next::Total + 1 };
|
||||
static inline void fillMetaTypes(int *p)
|
||||
{
|
||||
*p = metaTypeFor<T1>(0);
|
||||
*p = metaTypeFor<T1>();
|
||||
Next::fillMetaTypes(++p);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue