summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorinspectredc <78732756+inspectredc@users.noreply.github.com>2024-04-07 01:14:31 +0100
committerGitHub <noreply@github.com>2024-04-06 18:14:31 -0600
commit011ba41514a072b451e54a76607d4db95dfda5b6 (patch)
treeb91c167e83d1c438b60fc9ab9d63da2f7f3ffb60 /src
parent2be55fb80025e1762ac5ad0d7b9a6a9c1c8015ee (diff)
add type to array exporter (#76)
Diffstat (limited to 'src')
-rw-r--r--src/factories/GenericArrayFactory.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/factories/GenericArrayFactory.cpp b/src/factories/GenericArrayFactory.cpp
index a8b502a..cdeeebf 100644
--- a/src/factories/GenericArrayFactory.cpp
+++ b/src/factories/GenericArrayFactory.cpp
@@ -271,6 +271,8 @@ ExportResult ArrayBinaryExporter::Export(std::ostream &write, std::shared_ptr<IP
ArrayType arrayType = arrayTypeMap.at(type);
WriteHeader(writer, LUS::ResourceType::Blob, 0);
+
+ writer.Write(static_cast<uint32_t>(arrayType));
writer.Write((uint32_t) array->mData.size());
for (auto &datum : array->mData) {