mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
refactor(Core): remove ace_autoptr, cleanup (#3276)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user