summaryrefslogtreecommitdiff
path: root/indra/llxml
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2015-04-07 17:59:28 -0400
committerOz Linden <oz@lindenlab.com>2015-04-07 17:59:28 -0400
commit8b42c7898ef756a4a81daa08b2a5acce2894f4b8 (patch)
tree57011bc24cc27df7b436c1edda7957ac3530fa57 /indra/llxml
parent3a57b18896eacb6fea6680d0eccaaeddb0b700b0 (diff)
replace llifstream and llofstream with std::ifstream and std::ofstream respectively
Diffstat (limited to 'indra/llxml')
-rwxr-xr-xindra/llxml/llcontrol.cpp4
-rwxr-xr-xindra/llxml/tests/llcontrol_test.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/indra/llxml/llcontrol.cpp b/indra/llxml/llcontrol.cpp
index 4e3d0ab392..079545d31f 100755
--- a/indra/llxml/llcontrol.cpp
+++ b/indra/llxml/llcontrol.cpp
@@ -832,7 +832,7 @@ U32 LLControlGroup::saveToFile(const std::string& filename, BOOL nondefault_only
++num_saved;
}
}
- llofstream file;
+ std::ofstream file;
file.open(filename.c_str());
if (file.is_open())
{
@@ -852,7 +852,7 @@ U32 LLControlGroup::saveToFile(const std::string& filename, BOOL nondefault_only
U32 LLControlGroup::loadFromFile(const std::string& filename, bool set_default_values, bool save_values)
{
LLSD settings;
- llifstream infile;
+ std::ifstream infile;
infile.open(filename.c_str());
if(!infile.is_open())
{
diff --git a/indra/llxml/tests/llcontrol_test.cpp b/indra/llxml/tests/llcontrol_test.cpp
index 2b691ffbb1..bc17a88f7c 100755
--- a/indra/llxml/tests/llcontrol_test.cpp
+++ b/indra/llxml/tests/llcontrol_test.cpp
@@ -80,7 +80,7 @@ namespace tut
}
void writeSettingsFile(const LLSD& config)
{
- llofstream file(mTestConfigFile.c_str());
+ std::ofstream file(mTestConfigFile.c_str());
if (file.is_open())
{
LLSDSerialize::toPrettyXML(config, file);