Fix virtual overloads
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 6 Mar 2013 23:52:06 +0000 (00:52 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 6 Mar 2013 23:52:06 +0000 (00:52 +0100)
commit89ae7093aaf405d24f3d7ac0825290f2a065da99
treeaf5ce7a47983ee373dbf9bb9f7bb12a7a4835a0d
parent2351076991b1ccb6bd3ef06ed11450fedd74bba5
Fix virtual overloads

So I learned something today: the 'using' keyword can also be used to
import function names from the enclosing namespace. This not only
solves the spammy virtual overload warnings that the new-fangled protocol
stuff introduced unwittingly, but also removes the need to redefine
RemotePeer::handle<>() as a forward to Peer::handle<>().

Also, someone please kick the C++ inventors for making method lookup
not follow the Koenig rules (contrary to most other lookups...).
src/common/remotepeer.h