diff options
author | Richard Linden <none@none> | 2010-10-07 11:30:55 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-10-07 11:30:55 -0700 |
commit | 0fa63baf3781430d835b859094b7d2b35ae3b32b (patch) | |
tree | 5237e2e4193beed465985e2505308aec69a1c2de /indra/llxml | |
parent | 01b28ddf5ddc7118bc8b2047d899aee0293a8721 (diff) |
fix for gcc
Diffstat (limited to 'indra/llxml')
-rw-r--r-- | indra/llxml/llcontrol.cpp | 3 |
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; } |