refactor(Core): remove ace_autoptr, cleanup (#3276)
This commit is contained in:
parent
208c257b99
commit
a9b90c9a07
7 changed files with 46 additions and 42 deletions
|
|
@ -13,7 +13,6 @@
|
|||
#include <ace/os_include/sys/os_socket.h>
|
||||
#include <ace/OS_NS_string.h>
|
||||
#include <ace/Reactor.h>
|
||||
#include <ace/Auto_Ptr.h>
|
||||
|
||||
#include "WorldSocket.h"
|
||||
#include "Common.h"
|
||||
|
|
@ -660,7 +659,7 @@ int WorldSocket::ProcessIncoming(WorldPacket* new_pct)
|
|||
ACE_ASSERT (new_pct);
|
||||
|
||||
// manage memory ;)
|
||||
ACE_Auto_Ptr<WorldPacket> aptr (new_pct);
|
||||
std::unique_ptr<WorldPacket> aptr (new_pct);
|
||||
|
||||
const uint16 opcode = new_pct->GetOpcode();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue