mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 17:07:17 +00:00
Warning fixes, general cleanup (#5053)
This commit is contained in:
1 parent
435224631f
commit
491b1edd12
107 files changed
+1279
-1542
No files matched your search
@@ -117,7 +117,7 @@ void SharedTaskZoneMessaging::HandleWorldMessage(ServerPacket *pack)
|
||||
buf.WriteInt8(m.is_leader ? 1 : 0);
|
||||
}
|
||||
|
||||
auto outapp = std::make_unique<EQApplicationPacket>(OP_SharedTaskMemberList, buf);
|
||||
auto outapp = std::make_unique<EQApplicationPacket>(OP_SharedTaskMemberList, std::move(buf));
|
||||
c->QueuePacket(outapp.get());
|
||||
}
|
||||
|
||||
@@ -141,7 +141,7 @@ void SharedTaskZoneMessaging::HandleWorldMessage(ServerPacket *pack)
|
||||
// live sends more after the name but it might just be garbage from
|
||||
// a re-used buffer (possibly a former name[64] buffer?)
|
||||
|
||||
auto outapp = std::make_unique<EQApplicationPacket>(OP_SharedTaskMemberChange, buf);
|
||||
auto outapp = std::make_unique<EQApplicationPacket>(OP_SharedTaskMemberChange, std::move(buf));
|
||||
c->QueuePacket(outapp.get());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user