aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(),