Abstract away the protocol handshake code
[quassel.git] / src / common / signalproxy.h
index a40a1b6..a8fe30d 100644 (file)
@@ -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<class T>
-    void handle(Peer *peer, T) { Q_ASSERT(0); }
+    void handle(Peer *, T) { Q_ASSERT(0); }
 
     bool invokeSlot(QObject *receiver, int methodId, const QVariantList &params, QVariant &returnValue);
     bool invokeSlot(QObject *receiver, int methodId, const QVariantList &params = QVariantList());