summaryrefslogtreecommitdiff
path: root/indra/llplugin/llpluginmessagepipe.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2026-08-14 19:08:11 -0400
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2026-08-14 19:08:11 -0400
commit66ff4c75bc2d594a41dfe22d85139311567b8e97 (patch)
tree08eec3889838cebf272e10ee34153a91667d4781 /indra/llplugin/llpluginmessagepipe.cpp
parent0a32098d4a603bc2a25fc68bbeaa1e980f0c1fe1 (diff)
parent305bebbdb3b16b10b6011b5b3b5d63ee7c7334be (diff)
Merge branch 'project/lua_editor' into pepper/pchat-revamp
Diffstat (limited to 'indra/llplugin/llpluginmessagepipe.cpp')
-rw-r--r--indra/llplugin/llpluginmessagepipe.cpp3
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;
}