mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-01-19 15:01:49 +00:00
fix: marking invalid offset as written in WritePtrArray methods
This commit is contained in:
@@ -1494,7 +1494,7 @@ namespace
|
||||
{
|
||||
LINEF("m_stream->Write<{0}>(*{1});", def->GetFullName(), MakeTypePtrVarName(def))
|
||||
}
|
||||
LINEF("m_stream->MarkFollowing({0});", MakeTypeWrittenPtrVarName(def))
|
||||
LINEF("m_stream->MarkFollowing(varWritten);")
|
||||
}
|
||||
|
||||
void PrintWritePtrArrayMethod_PointerCheck(const DataDefinition* def, const StructureInformation* info, const bool reusable)
|
||||
|
||||
Reference in New Issue
Block a user