diff options
| author | Rye <rye@alchemyviewer.org> | 2026-01-11 13:22:32 -0500 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-01-21 22:07:08 +0200 |
| commit | 2f8d6420f346b6ee8c98860030b03d79ff88a9c4 (patch) | |
| tree | adfd16805fed8c4834519b5fcd0577a3108ccd39 /indra/llprimitive/llgltfmaterial.cpp | |
| parent | b5a57a7c283d50001ec5ae221e9cb9ecd061c975 (diff) | |
Reduce temporary istringstream allocations during LLDate and GLTF override parsing
Diffstat (limited to 'indra/llprimitive/llgltfmaterial.cpp')
| -rw-r--r-- | indra/llprimitive/llgltfmaterial.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llprimitive/llgltfmaterial.cpp b/indra/llprimitive/llgltfmaterial.cpp index 930222e3db..b2cd1dc597 100644 --- a/indra/llprimitive/llgltfmaterial.cpp +++ b/indra/llprimitive/llgltfmaterial.cpp @@ -214,7 +214,7 @@ std::string LLGLTFMaterial::asJSON(bool prettyprint) const // to WriteGltfSceneToStream in the viewer. gltf.WriteGltfSceneToStream(&model_out, str, prettyprint, false); - return str.str(); + return std::move(str).str(); } void LLGLTFMaterial::setFromModel(const tinygltf::Model& model, S32 mat_index) |
