summaryrefslogtreecommitdiffstats
path: root/src/Common/ClientConnection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/ClientConnection.cpp')
-rw-r--r--src/Common/ClientConnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/ClientConnection.cpp b/src/Common/ClientConnection.cpp
index ee9f5cf..b9a6721 100644
--- a/src/Common/ClientConnection.cpp
+++ b/src/Common/ClientConnection.cpp
@@ -26,7 +26,7 @@ namespace Mad {
namespace Common {
ClientConnection::ClientConnection() : connection(new Net::ClientConnection) {
- connection->signalReceive().connect(boost::bind(&ClientConnection::receive, this, _1));
+ connection->connectSignalReceive(boost::bind(&ClientConnection::receive, this, _1));
}
bool ClientConnection::send(const Net::Packet &packet) {