possible fix for mac compilation error

meow-7.2.2
Brad Payne (Vir Linden) 2019-11-18 19:32:47 +00:00
parent d12e10be37
commit 5b20fca991
1 changed files with 2 additions and 1 deletions

View File

@ -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;