diff options
author | Determinant <[email protected]> | 2018-08-01 14:22:26 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2018-08-01 14:22:26 -0400 |
commit | 37dc1f5bfe6630c224d1b131562166ab5bdd9976 (patch) | |
tree | 1a9af7c71c0918e35b717c134e89e34bd6f0e89d | |
parent | 6a10aa1984e1e58f2238a03c4a6627bca58beb86 (diff) |
...
-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(), |