Correct to-from pairing for transformEndianness.

This commit is contained in:
kothiga 2023-08-18 11:25:08 -07:00
parent 6b42975d33
commit b905703909
No known key found for this signature in database

View File

@ -391,7 +391,7 @@ static void transformFixedString(const UInt8 * src, UInt8 * dst, size_t size, UI
static void transformUUID(const UUID & src_uuid, UUID & dst_uuid, UInt64 seed)
{
auto src_copy = src_uuid;
transformEndianness<std::endian::native, std::endian::little>(src_copy);
transformEndianness<std::endian::little, std::endian::native>(src_copy);
const UInt128 & src = src_copy.toUnderType();
UInt128 & dst = dst_uuid.toUnderType();