[ox/oc] Remove redundant move in readOC
This commit is contained in:
parent
21f40a8362
commit
49fb4d0f0b
2
deps/ox/src/ox/oc/read.hpp
vendored
2
deps/ox/src/ox/oc/read.hpp
vendored
@ -199,7 +199,7 @@ template<typename T>
|
||||
Result<std::unique_ptr<T>> readOC(const char *json) {
|
||||
auto val = std::make_unique<T>();
|
||||
oxReturnError(readOC(json, ox_strlen(json), val.get()));
|
||||
return std::move(val);
|
||||
return val;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user