summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-02-27 11:55:08 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-02-27 11:55:08 -0500
commit72412e1b42325c35c02aef43a87b8907ca591d1f (patch)
tree22b96500d8cf57e6a678211782bdff6132eaccc9 /indra/newview
parentf6671c2a7dd3c07d5d3545314e92c471ac49dad8 (diff)
Fix for mac build failure
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llappearancemgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index 30e7f32ef7..a87be17505 100755
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -3089,7 +3089,7 @@ public:
{
std::string outfilename = get_sequential_numbered_file_name(outprefix,".xml");
std::string fullpath = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,outfilename);
- std::ofstream ofs(fullpath);
+ std::ofstream ofs(fullpath, std::ios_base::out);
ofs << LLSDOStreamer<LLSDXMLFormatter>(content, LLSDFormatter::OPTIONS_PRETTY);
LL_DEBUGS("Avatar") << "results saved to: " << fullpath << LL_ENDL;
}