diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2024-07-04 13:02:34 -0400 |
---|---|---|
committer | Rye Mutt <rye@alchemyviewer.org> | 2024-07-05 02:56:25 -0400 |
commit | 1296afd96a74877feb91690ec8dcd99b225554b8 (patch) | |
tree | 6ec615eb07b26a2ac2b07d747515847f8fdad0bd /indra/llprimitive | |
parent | f6d2536e4f2633757cce75f45a1ee9f6003be90a (diff) |
Reduce LLSD::Binary temporaries
Diffstat (limited to 'indra/llprimitive')
-rw-r--r-- | indra/llprimitive/llmaterialid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llprimitive/llmaterialid.cpp b/indra/llprimitive/llmaterialid.cpp index 847824d770..4992b282f3 100644 --- a/indra/llprimitive/llmaterialid.cpp +++ b/indra/llprimitive/llmaterialid.cpp @@ -136,7 +136,7 @@ LLSD LLMaterialID::asLLSD() const materialIDBinary.resize(MATERIAL_ID_SIZE * sizeof(U8)); memcpy(materialIDBinary.data(), mID, MATERIAL_ID_SIZE * sizeof(U8)); - LLSD materialID = materialIDBinary; + LLSD materialID = std::move(materialIDBinary); return materialID; } |