[keel] Fix ox::Result<DstType> convert(Context &ctx, ox::BufferView const&src)

This commit is contained in:
Gary Talent 2025-05-24 00:47:39 -05:00
parent 26f1a6051f
commit 4322f720ba

View File

@ -260,7 +260,7 @@ ox::Result<DstType> convertObjToObj(
template<typename DstType> template<typename DstType>
ox::Result<DstType> convert(Context &ctx, ox::BufferView const&src) noexcept { ox::Result<DstType> convert(Context &ctx, ox::BufferView const&src) noexcept {
OX_REQUIRE(out, convert(ctx, src, ox::ModelTypeName_v<DstType>, ox::ModelTypeVersion_v<DstType>)); OX_REQUIRE(out, convert(ctx, src, ox::ModelTypeName_v<DstType>, ox::ModelTypeVersion_v<DstType>));
return std::move(wrapCast<DstType>(out)); return std::move(wrapCast<DstType>(*out));
} }
template<typename DstType> template<typename DstType>