summaryrefslogtreecommitdiff
path: root/indra/llcommon/llevents.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-03-23 17:14:33 +0900
committerNat Goodspeed <nat@lindenlab.com>2024-03-23 17:14:33 +0900
commitde1fc577666686fb0c3f8b38d8c6c90eb6dff414 (patch)
tree9694f6d4965f803075fb74b9dfa242fe73ec66ab /indra/llcommon/llevents.h
parentbb39a8b223f78205a10ffcb61e3b3bfe05b3fd1a (diff)
Update sendReply(): accepting LLSD by value already copies it.
Diffstat (limited to 'indra/llcommon/llevents.h')
-rw-r--r--indra/llcommon/llevents.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llevents.h b/indra/llcommon/llevents.h
index c1dbf4392f..1f35a6de18 100644
--- a/indra/llcommon/llevents.h
+++ b/indra/llcommon/llevents.h
@@ -779,7 +779,7 @@ private:
* Before sending the reply event, sendReply() copies the ["reqid"] item from
* the request to the reply.
*/
-LL_COMMON_API bool sendReply(const LLSD& reply, const LLSD& request,
+LL_COMMON_API bool sendReply(LLSD reply, const LLSD& request,
const std::string& replyKey="reply");
#endif /* ! defined(LL_LLEVENTS_H) */