[ox/oc] Fix unnecessary copy
This commit is contained in:
parent
21131a35a3
commit
19d5641c6e
2
deps/ox/src/ox/oc/write.cpp
vendored
2
deps/ox/src/ox/oc/write.cpp
vendored
@ -14,7 +14,7 @@ OrganicClawWriter::OrganicClawWriter(int unionIdx) noexcept: m_unionIdx(unionIdx
|
|||||||
}
|
}
|
||||||
|
|
||||||
OrganicClawWriter::OrganicClawWriter(Json::Value json, int unionIdx) noexcept:
|
OrganicClawWriter::OrganicClawWriter(Json::Value json, int unionIdx) noexcept:
|
||||||
m_json(json),
|
m_json(std::move(json)),
|
||||||
m_unionIdx(unionIdx) {
|
m_unionIdx(unionIdx) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user