diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-09-27 06:29:49 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-09-27 06:29:49 -0400 |
commit | 5c9d60c0e58e2dc65e3e048bd42412997770c6d6 (patch) | |
tree | 6efad8f9fdd043116697d34274a0cb096afc9d7d /indra | |
parent | ecc2ada086b7cdc943abe11eb62b749c2b3d8798 (diff) |
Linux GCC prefers the explicit std::string::assign() call.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llimagej2coj/llimagej2coj.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llimagej2coj/llimagej2coj.cpp b/indra/llimagej2coj/llimagej2coj.cpp index a2a43e4baa..6af321be3d 100644 --- a/indra/llimagej2coj/llimagej2coj.cpp +++ b/indra/llimagej2coj/llimagej2coj.cpp @@ -417,7 +417,7 @@ public: parameters.irreversible = 1; } - comment_text = { comment_text_in? comment_text_in : "no comment" }; + comment_text.assign(comment_text_in? comment_text_in : "no comment"); // Because comment_text is a member declared before parameters, // it will outlive parameters, so we can safely store in parameters a |