mirror of
https://github.com/libAthena/athena.git
synced 2025-12-09 05:27:50 +00:00
Refactored readBytes() and readUBytes() to return std::unique_ptr
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
namespace Athena
|
||||
{
|
||||
|
||||
MCSlot::MCSlot(atUint8* data, atUint32 length)
|
||||
: ZQuestFile(ZQuestFile::MC, Endian::LittleEndian, data, length)
|
||||
MCSlot::MCSlot(std::unique_ptr<atUint8[]>&& data, atUint32 length)
|
||||
: ZQuestFile(ZQuestFile::MC, Endian::LittleEndian, std::move(data), length)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user