diff options
-rw-r--r-- | README.rst | 4 | ||||
-rw-r--r-- | test/test_network.cpp | 4 |
2 files changed, 0 insertions, 8 deletions
@@ -159,10 +159,6 @@ Example (MsgNetwork layer) }); } - salticidae::ConnPool::Conn *create_conn() override { - return new Conn(); - } - void on_receive_hello(MsgHello &&msg, MyNet::Conn &conn) { printf("[%s] %s says %s\n", name.c_str(), diff --git a/test/test_network.cpp b/test/test_network.cpp index fa08596..e5d2b1d 100644 --- a/test/test_network.cpp +++ b/test/test_network.cpp @@ -113,10 +113,6 @@ struct MyNet: public MsgNetworkByteOp { }); } - salticidae::ConnPool::Conn *create_conn() override { - return new Conn(); - } - void on_receive_hello(MsgHello &&msg, MyNet::Conn &conn) { printf("[%s] %s says %s\n", name.c_str(), |