summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorcallum <none@none>2010-10-07 12:08:30 -0700
committercallum <none@none>2010-10-07 12:08:30 -0700
commit61305ff7651436a1205ce7264358484f78f3693f (patch)
tree772a00377afa8de035e8d7144e01938bc14ede74 /indra
parentdd2eff8da2b2508d5fc46492147e015d2455f957 (diff)
parent0fa63baf3781430d835b859094b7d2b35ae3b32b (diff)
Merge
Diffstat (limited to 'indra')
-rw-r--r--indra/llxml/llcontrol.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llxml/llcontrol.cpp b/indra/llxml/llcontrol.cpp
index 2822b767e5..85d369b8cd 100644
--- a/indra/llxml/llcontrol.cpp
+++ b/indra/llxml/llcontrol.cpp
@@ -174,7 +174,8 @@ LLSD LLControlVariable::getComparableValue(const LLSD& value)
{
LLPointer<LLSDNotationParser> parser = new LLSDNotationParser;
LLSD result;
- if (parser->parse(std::stringstream(value.asString()), result, LLSDSerialize::SIZE_UNLIMITED) != LLSDParser::PARSE_FAILURE)
+ std::stringstream value_stream(value.asString());
+ if (parser->parse(value_stream, result, LLSDSerialize::SIZE_UNLIMITED) != LLSDParser::PARSE_FAILURE)
{
storable_value = result;
}