[ox/claw] MSVC fix
This commit is contained in:
parent
907393dfe6
commit
c9f1b3aaa3
2
deps/ox/src/ox/claw/read.cpp
vendored
2
deps/ox/src/ox/claw/read.cpp
vendored
@ -74,7 +74,7 @@ Result<Buffer> stripClawHeader(const ox::Buffer &buff) noexcept {
|
|||||||
|
|
||||||
Result<ModelObject> readClaw(TypeStore *ts, const Buffer &buff) noexcept {
|
Result<ModelObject> readClaw(TypeStore *ts, const Buffer &buff) noexcept {
|
||||||
oxRequire(header, readClawHeader(buff));
|
oxRequire(header, readClawHeader(buff));
|
||||||
oxRequire(t, ts->template getLoad(header.typeName, header.typeVersion, header.typeParams));
|
oxRequire(t, ts->getLoad(header.typeName, header.typeVersion, header.typeParams));
|
||||||
ModelObject obj;
|
ModelObject obj;
|
||||||
oxReturnError(obj.setType(t));
|
oxReturnError(obj.setType(t));
|
||||||
switch (header.fmt) {
|
switch (header.fmt) {
|
||||||
|
Loading…
Reference in New Issue
Block a user