projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix virtual overloads
[quassel.git]
/
src
/
common
/
remotepeer.h
diff --git
a/src/common/remotepeer.h
b/src/common/remotepeer.h
index
5751dfb
..
6c3e35f
100644
(file)
--- a/
src/common/remotepeer.h
+++ b/
src/common/remotepeer.h
@@
-68,8
+68,8
@@
signals:
protected:
SignalProxy *signalProxy() const;
protected:
SignalProxy *signalProxy() const;
- template<class T>
-
void handle(const T &protoMessage)
;
+ using Peer::handle;
+
using Peer::dispatch
;
// These protocol messages get handled internally and won't reach SignalProxy
void handle(const Protocol::HeartBeat &heartBeat);
// These protocol messages get handled internally and won't reach SignalProxy
void handle(const Protocol::HeartBeat &heartBeat);
@@
-89,12
+89,4
@@
private:
int _lag;
};
int _lag;
};
-
-template<class T> inline
-void RemotePeer::handle(const T &protoMessage)
-{
- Peer::handle(protoMessage);
-}
-
-
#endif
#endif