summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2019-11-18 19:32:47 +0000
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2019-11-18 19:32:47 +0000
commit5b20fca991c109df40b5e8ee0f750507c57f46a1 (patch)
tree1855ebe40a2e57c2014a3a18703237281a9493db /indra/newview
parentd12e10be377e692f5164ba914b8f038e66b0d45c (diff)
possible fix for mac compilation error
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewermenu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index ef3c1f4c14..c1de275174 100644
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -8669,7 +8669,8 @@ class LLUploadCostCalculator : public view_listener_t
bool handleEvent(const LLSD& userdata)
{
std::vector<std::string> fields;
- boost::split(fields, userdata.asString(), boost::is_any_of(","));
+ std::string str = userdata.asString();
+ boost::split(fields, str, boost::is_any_of(","));
if (fields.size()<1)
{
return false;