From 821edaad3c6df509a36ee131242acc66ab67bc15 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 11 Mar 2023 16:57:04 -0600 Subject: [PATCH] [ox/oc] Fix unnecessary copy (synced from 19d5641c6e398f45c6657164634034097ffae965) --- src/ox/oc/write.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ox/oc/write.cpp b/src/ox/oc/write.cpp index 5dcbda9ca..e1ff81f8a 100644 --- a/src/ox/oc/write.cpp +++ b/src/ox/oc/write.cpp @@ -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) { }