do not insert a null char into the std::string when serializing llsd notation
parent
d2257711c5
commit
8dff769dc9
|
|
@ -196,10 +196,7 @@ char* ll_pretty_print_sd(const LLSD& sd)
|
|||
std::string ll_stream_notation_sd(const LLSD& sd)
|
||||
{
|
||||
std::ostringstream stream;
|
||||
//stream.rdbuf()->pubsetbuf(buffer, bufferSize);
|
||||
stream << LLSDOStreamer<LLSDNotationFormatter>(sd);
|
||||
stream << std::ends;
|
||||
|
||||
return stream.str();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue