[ox/mc] Cleanup
This commit is contained in:
parent
8d2c8df014
commit
3eec0a149d
3
deps/ox/src/ox/mc/read.hpp
vendored
3
deps/ox/src/ox/mc/read.hpp
vendored
@ -254,8 +254,7 @@ constexpr Error MetalClawReaderTemplate<Reader>::field(const char*, HashMap<Stri
|
||||
auto wkey = ox_malloca(keyLen + 1, char, 0);
|
||||
auto wkeyPtr = wkey.get();
|
||||
oxReturnError(handler.fieldCString("", &wkeyPtr, keyLen + 1));
|
||||
oxReturnError(handler.field("", &val.operator[](wkey.get())));
|
||||
return OxError(0);
|
||||
return handler.field("", &val[wkey.get()]);
|
||||
};
|
||||
for (std::size_t i = 0; i < len; ++i) {
|
||||
oxReturnError(loopBody(handler, *val));
|
||||
|
Loading…
Reference in New Issue
Block a user