From afd800afc0bad0dd034eb732354ed25c81621d2e Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Sat, 25 May 2024 16:31:32 -0600 Subject: Fixed possible conflicts with LUS --- src/factories/GenericArrayFactory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/factories/GenericArrayFactory.cpp') diff --git a/src/factories/GenericArrayFactory.cpp b/src/factories/GenericArrayFactory.cpp index c91dbe2..a154ab5 100644 --- a/src/factories/GenericArrayFactory.cpp +++ b/src/factories/GenericArrayFactory.cpp @@ -270,8 +270,8 @@ ExportResult ArrayBinaryExporter::Export(std::ostream &write, std::shared_ptr(arrayType)); writer.Write((uint32_t) array->mData.size()); @@ -379,7 +379,7 @@ std::optional> GenericArrayFactory::parse(std::vect auto [root, segment] = Decompressor::AutoDecode(node, buffer, count * typeSize); LUS::BinaryReader reader(segment.data, segment.size); - reader.SetEndianness(LUS::Endianness::Big); + reader.SetEndianness(Torch::Endianness::Big); for (int i = 0; i < count; i++) { switch (arrayType) { -- cgit v1.2.3