Fix for mac build failure

meow-7.2.2
Brad Payne (Vir Linden) 2013-02-27 11:55:08 -05:00
parent f6671c2a7d
commit 72412e1b42
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}