aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-08-01 14:22:26 -0400
committerDeterminant <[email protected]>2018-08-01 14:22:26 -0400
commit37dc1f5bfe6630c224d1b131562166ab5bdd9976 (patch)
tree1a9af7c71c0918e35b717c134e89e34bd6f0e89d
parent6a10aa1984e1e58f2238a03c4a6627bca58beb86 (diff)
...
-rw-r--r--README.rst4
-rw-r--r--test/test_network.cpp4
2 files changed, 0 insertions, 8 deletions
diff --git a/README.rst b/README.rst
index c6a65cc..06fa050 100644
--- a/README.rst
+++ b/README.rst
@@ -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(),