mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Many tweaks to stream memory allocation, including but not limited to streams now are shared_ptrs.
This commit is contained in:
+2
-2
@@ -485,7 +485,7 @@ Clientlist::Clientlist(int ChatPort) {
|
||||
}
|
||||
}
|
||||
|
||||
Client::Client(EQStream *eqs) {
|
||||
Client::Client(std::shared_ptr<EQStream> eqs) {
|
||||
|
||||
ClientStream = eqs;
|
||||
|
||||
@@ -574,7 +574,7 @@ void Clientlist::CheckForStaleConnections(Client *c) {
|
||||
|
||||
void Clientlist::Process() {
|
||||
|
||||
EQStream *eqs;
|
||||
std::shared_ptr<EQStream> eqs;
|
||||
|
||||
while((eqs = chatsf->Pop())) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user