[keel] Fix ox::Result<DstType> convert(Context &ctx, ox::BufferView const&src)
This commit is contained in:
parent
26f1a6051f
commit
4322f720ba
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user