X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsignalproxy.h;h=a8fe30dc674ed3f43764dc1d71256ad3ae7bb27d;hb=0e80eb98d55efe53d280b38984426318317bcb1a;hp=a40a1b6b3892ed22e02069b3bc69810c2b4994ba;hpb=5b69d94edcbc2f985243b1f19744f7b03f6e283b;p=quassel.git diff --git a/src/common/signalproxy.h b/src/common/signalproxy.h index a40a1b6b..a8fe30dc 100644 --- a/src/common/signalproxy.h +++ b/src/common/signalproxy.h @@ -26,7 +26,7 @@ #include "protocol.h" -class QMetaObject; +struct QMetaObject; class Peer; class SyncableObject; @@ -125,7 +125,7 @@ private: void handle(Peer *peer, const Protocol::InitData &initData); template - void handle(Peer *peer, T) { Q_ASSERT(0); } + void handle(Peer *, T) { Q_ASSERT(0); } bool invokeSlot(QObject *receiver, int methodId, const QVariantList ¶ms, QVariant &returnValue); bool invokeSlot(QObject *receiver, int methodId, const QVariantList ¶ms = QVariantList());