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/newview | |
| parent | b5a57a7c283d50001ec5ae221e9cb9ecd061c975 (diff) | |
Reduce temporary istringstream allocations during LLDate and GLTF override parsing
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llgltfmateriallist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llgltfmateriallist.cpp b/indra/newview/llgltfmateriallist.cpp index ac8477a615..b784419780 100644 --- a/indra/newview/llgltfmateriallist.cpp +++ b/indra/newview/llgltfmateriallist.cpp @@ -170,7 +170,7 @@ namespace void LLGLTFMaterialList::applyOverrideMessage(LLMessageSystem* msg, const std::string& data_in) { - std::istringstream str(data_in); + boost::iostreams::stream<boost::iostreams::array_source> str(data_in.data(), data_in.size()); LLSD data; |
