diff options
Diffstat (limited to 'Minecraft.World/ContainerAckPacket.h')
| -rw-r--r-- | Minecraft.World/ContainerAckPacket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/ContainerAckPacket.h b/Minecraft.World/ContainerAckPacket.h index 00f3592e..be028774 100644 --- a/Minecraft.World/ContainerAckPacket.h +++ b/Minecraft.World/ContainerAckPacket.h @@ -23,7 +23,7 @@ public: virtual int getEstimatedSize(); public: - static shared_ptr<Packet> create() { return shared_ptr<Packet>(new ContainerAckPacket()); } + static shared_ptr<Packet> create() { return std::make_shared<ContainerAckPacket>(); } virtual int getId() { return 106; } }; |
