diff options
| author | Oz Linden <oz@lindenlab.com> | 2015-04-10 11:02:37 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2015-04-10 11:02:37 -0400 |
| commit | 5c6cf3e7fb9f592e3a293921175b64b515bac23f (patch) | |
| tree | 15933c1910c4b337e0c181434b6d653628f62eed /indra/newview/llautoreplace.cpp | |
| parent | 6b9b4c91d122dccabf7541af70ed68a623ad8810 (diff) | |
restore the ll[io]fstream because we need them as wrappers on Windows for wide char paths; on other platforms they are now just typedefs to the std classes
Diffstat (limited to 'indra/newview/llautoreplace.cpp')
| -rwxr-xr-x | indra/newview/llautoreplace.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llautoreplace.cpp b/indra/newview/llautoreplace.cpp index 62e32eac00..dd9354fe3a 100755 --- a/indra/newview/llautoreplace.cpp +++ b/indra/newview/llautoreplace.cpp @@ -148,7 +148,7 @@ void LLAutoReplace::loadFromSettings() if(gDirUtilp->fileExists(filename)) { LLSD userSettings; - std::ifstream file; + llifstream file; file.open(filename.c_str()); if (file.is_open()) { @@ -173,7 +173,7 @@ void LLAutoReplace::loadFromSettings() if(gDirUtilp->fileExists(defaultName)) { LLSD appDefault; - std::ifstream file; + llifstream file; file.open(defaultName.c_str()); if (file.is_open()) { @@ -209,7 +209,7 @@ void LLAutoReplace::loadFromSettings() void LLAutoReplace::saveToUserSettings() { std::string filename=getUserSettingsFileName(); - std::ofstream file; + llofstream file; file.open(filename.c_str()); LLSDSerialize::toPrettyXML(mSettings.asLLSD(), file); file.close(); |
