summaryrefslogtreecommitdiff
path: root/indra/newview/llwldaycycle.cpp
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/newview/llwldaycycle.cpp
parent3a57b18896eacb6fea6680d0eccaaeddb0b700b0 (diff)
replace llifstream and llofstream with std::ifstream and std::ofstream respectively
Diffstat (limited to 'indra/newview/llwldaycycle.cpp')
-rwxr-xr-xindra/newview/llwldaycycle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llwldaycycle.cpp b/indra/newview/llwldaycycle.cpp
index 88079c5d26..3f5579d0fb 100755
--- a/indra/newview/llwldaycycle.cpp
+++ b/indra/newview/llwldaycycle.cpp
@@ -109,7 +109,7 @@ LLSD LLWLDayCycle::loadDayCycleFromPath(const std::string& file_path)
{
LL_INFOS("Windlight") << "Loading DayCycle settings from " << file_path << LL_ENDL;
- llifstream day_cycle_xml(file_path.c_str());
+ std::ifstream day_cycle_xml(file_path.c_str());
if (day_cycle_xml.is_open())
{
// load and parse it
@@ -137,7 +137,7 @@ void LLWLDayCycle::save(const std::string& file_path)
{
LLSD day_data = asLLSD();
- llofstream day_cycle_xml(file_path.c_str());
+ std::ofstream day_cycle_xml(file_path.c_str());
LLPointer<LLSDFormatter> formatter = new LLSDXMLFormatter();
formatter->format(day_data, day_cycle_xml, LLSDFormatter::OPTIONS_PRETTY);
day_cycle_xml.close();