]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/communicator.cpp
Refactor the API for defining packets in Protocol
[libs/net.git] / source / net / communicator.cpp
index f77ada2159d427788a74a414285aaa67a3ad1ee4..3ac62d7e4be0906f270582ddd2576f32b346a381 100644 (file)
@@ -23,7 +23,7 @@ public:
 HandshakeProtocol::HandshakeProtocol():
        Protocol(0x7F00)
 {
-       add<Handshake>()(&Handshake::hash);
+       add<Handshake>(&Handshake::hash);
 }