Made server a pointer for eliminating TCPSession2.
This commit is contained in:
1 parent
6c7fc7d28f
commit
a391882541
14 files changed
+336
-461
No files matched your search
+1
-1
@@ -15,7 +15,7 @@ namespace core {
|
||||
}
|
||||
|
||||
TCPSession * ConsoleServer::getSocketAccept(EPoll &ePoll) {
|
||||
return new ConsoleSession(ePoll, *this);
|
||||
return new ConsoleSession(ePoll, this);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user