summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2015-06-08 17:35:18 -0400
committerOz Linden <oz@lindenlab.com>2015-06-08 17:35:18 -0400
commit1fce3cc89eca7edf05ef550707e955af3d4d5fc7 (patch)
tree96d70412eba42fd939c75f094d45cbbcb68b5ef8 /indra/newview/llappviewer.cpp
parent949942c730b0b7463338c2cb3bc411ac12f4f648 (diff)
corrections needed for new tools
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rwxr-xr-xindra/newview/llappviewer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 8185c7c2aa..a2aee2e000 100755
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -4705,7 +4705,7 @@ void LLAppViewer::saveExperienceCache()
std::string filename =
gDirUtilp->getExpandedFilename(LL_PATH_CACHE, "experience_cache.xml");
LL_INFOS("ExperienceCache") << "Saving " << filename << LL_ENDL;
- llofstream cache_stream(filename);
+ llofstream cache_stream(filename.c_str());
if(cache_stream.is_open())
{
LLExperienceCache::exportFile(cache_stream);
@@ -4717,7 +4717,7 @@ void LLAppViewer::loadExperienceCache()
std::string filename =
gDirUtilp->getExpandedFilename(LL_PATH_CACHE, "experience_cache.xml");
LL_INFOS("ExperienceCache") << "Loading " << filename << LL_ENDL;
- llifstream cache_stream(filename);
+ llifstream cache_stream(filename.c_str());
if(cache_stream.is_open())
{
LLExperienceCache::importFile(cache_stream);