2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 01:47:43 +00:00

Switch SCLY to unique_ptr

This commit is contained in:
2015-11-28 21:59:34 -08:00
parent 1a01ca4913
commit 3c369a6d7b
2 changed files with 10 additions and 10 deletions

View File

@@ -25,7 +25,7 @@ struct SCLY : BigYAML
Delete _d;
Value<atUint8> unknown;
Value<atUint32> objectCount;
Vector<std::shared_ptr<IScriptObject>, DNA_COUNT(objectCount)> objects;
Vector<std::unique_ptr<IScriptObject>, DNA_COUNT(objectCount)> objects;
void read(Athena::io::IStreamReader &rs);
void write(Athena::io::IStreamWriter &ws) const;
size_t binarySize(size_t __isz) const;