diff options
| author | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-07-15 22:50:02 +0300 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-07-16 20:06:41 +0300 |
| commit | 8aa0161ed3f370a37a4ae849ce5c8a367d88c3fb (patch) | |
| tree | bd8cdad3be840ff2dd8a112909d02d77a0fdf98c /indra/llplugin/llpluginmessagepipe.cpp | |
| parent | b76dce8903f9fd653ab604132c79c091c5476b08 (diff) | |
#6002 Filter out inaudible media volume changes
Diffstat (limited to 'indra/llplugin/llpluginmessagepipe.cpp')
| -rw-r--r-- | indra/llplugin/llpluginmessagepipe.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llplugin/llpluginmessagepipe.cpp b/indra/llplugin/llpluginmessagepipe.cpp index 085afc0944..1e58e6c49b 100644 --- a/indra/llplugin/llpluginmessagepipe.cpp +++ b/indra/llplugin/llpluginmessagepipe.cpp @@ -121,8 +121,9 @@ bool LLPluginMessagePipe::addMessage(const std::string &message) mOutputStartIndex = 0; } + mOutput.reserve(mOutput.size() + message.size() + 1); mOutput += message; - mOutput += MESSAGE_DELIMITER; // message separator + mOutput.push_back(MESSAGE_DELIMITER); // message separator return true; } |
