summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
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;