[ox/oc] Remove redundant move in readOC

(synced from 49fb4d0f0b)
This commit is contained in:
2021-04-17 14:06:15 -05:00
parent d0f5611be6
commit 283eb79799
+1 -1
View File
@@ -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;
}
}