[ox/oc] Fix unnecessary copy
This commit is contained in:
Vendored
+1
-1
@@ -14,7 +14,7 @@ OrganicClawWriter::OrganicClawWriter(int unionIdx) noexcept: m_unionIdx(unionIdx
|
||||
}
|
||||
|
||||
OrganicClawWriter::OrganicClawWriter(Json::Value json, int unionIdx) noexcept:
|
||||
m_json(json),
|
||||
m_json(std::move(json)),
|
||||
m_unionIdx(unionIdx) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user