diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2023-05-03 17:38:30 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2023-05-03 17:38:30 -0400 |
commit | e7c5b9fb0f75b1e75acf7c99eded5f7b697cdc60 (patch) | |
tree | 1fa8d43aff94a976ec49e6dc32251d759ea31b7e /indra/newview/groupchatlistener.cpp | |
parent | 3c77c1b90f0496669d17286fff736b5e714db379 (diff) |
SL-19647: Eliminate LLSDArray entirely.
Newer C++ compilers have different semantics around LLSDArray's special copy
constructor, which was essential to proper LLSD nesting. In short, we can no
longer trust LLSDArray to behave correctly. Now that we have variadic
functions, get rid of LLSDArray and replace every reference with llsd::array().
Diffstat (limited to 'indra/newview/groupchatlistener.cpp')
-rw-r--r-- | indra/newview/groupchatlistener.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/groupchatlistener.cpp b/indra/newview/groupchatlistener.cpp index ef015a950d..a05caa961b 100644 --- a/indra/newview/groupchatlistener.cpp +++ b/indra/newview/groupchatlistener.cpp @@ -64,11 +64,11 @@ GroupChatListener::GroupChatListener(): "Leave a group chat in group with UUID [\"id\"]\n" "Assumes a prior successful startIM request.", &LLGroupActions::endIM, - LLSDArray("id")); - add("sendIM", - "send a groupchat IM", - &send_message_wrapper, - LLSDArray("text")("session_id")("group_id")); + llsd::array("id")); + add("sendIM", + "send a groupchat IM", + &send_message_wrapper, + llsd::array("text", "session_id", "group_id")); } /* static void sendMessage(const std::string& utf8_text, const LLUUID& im_session_id, |