summaryrefslogtreecommitdiff
path: root/indra/test/message_tut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/test/message_tut.cpp')
-rw-r--r--indra/test/message_tut.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/test/message_tut.cpp b/indra/test/message_tut.cpp
index 57db6dd97a..d426511d24 100644
--- a/indra/test/message_tut.cpp
+++ b/indra/test/message_tut.cpp
@@ -93,7 +93,7 @@ namespace tut
random.generate();
ostr << "message-test-" << random;
mTestConfigDir = ostr.str();
- LLFile::mkdir(mTestConfigDir.c_str());
+ LLFile::mkdir(mTestConfigDir);
writeConfigFile(LLSD());
LLMessageConfig::initClass("simulator", ostr.str());
}
@@ -107,11 +107,11 @@ namespace tut
// rm contents of temp dir
std::ostringstream ostr;
ostr << mTestConfigDir << mSep << "message.xml";
- int rmfile = LLFile::remove(ostr.str().c_str());
+ int rmfile = LLFile::remove(ostr.str());
ensure_equals("rmfile value", rmfile, 0);
// rm temp dir
- int rmdir = LLFile::rmdir(mTestConfigDir.c_str());
+ int rmdir = LLFile::rmdir(mTestConfigDir);
ensure_equals("rmdir value", rmdir, 0);
}
@@ -119,7 +119,7 @@ namespace tut
{
std::ostringstream ostr;
ostr << mTestConfigDir << mSep << "message.xml";
- llofstream file(ostr.str().c_str());
+ llofstream file(ostr.str());
if (file.is_open())
{
LLSDSerialize::toPrettyXML(config, file);