summaryrefslogtreecommitdiff
path: root/indra/test/message_tut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/test/message_tut.cpp')
-rwxr-xr-xindra/test/message_tut.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/test/message_tut.cpp b/indra/test/message_tut.cpp
index 57e423e550..aa23699de0 100755
--- a/indra/test/message_tut.cpp
+++ b/indra/test/message_tut.cpp
@@ -119,9 +119,8 @@ namespace tut
void writeConfigFile(const LLSD& config)
{
- std::ostringstream ostr;
- ostr << mTestConfigDir << mSep << "message.xml";
- llofstream file(ostr.str());
+ std::string ostr(mTestConfigDir + mSep + "message.xml");
+ llofstream file(ostr.c_str());
if (file.is_open())
{
LLSDSerialize::toPrettyXML(config, file);