From d6fda15c34896db3b911c3719871ce317edaab1d Mon Sep 17 00:00:00 2001 From: "Brad Payne (Vir Linden)" Date: Fri, 13 May 2011 12:01:39 -0400 Subject: Fixed more build breakages due to persnickety compilers on mac/linux --- indra/newview/llmeshrepository.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp index 2ebe6cf6bd..2a68fbac8d 100755 --- a/indra/newview/llmeshrepository.cpp +++ b/indra/newview/llmeshrepository.cpp @@ -1362,11 +1362,13 @@ void LLMeshUploadThread::run() } } +#if 0 void dumpLLSDToFile(LLSD& content, std::string& filename) { std::ofstream of(filename); LLSDSerialize::toPrettyXML(content,of); } +#endif void LLMeshUploadThread::wholeModelToLLSD(LLSD& dest, bool include_textures) { @@ -1478,7 +1480,8 @@ void LLMeshUploadThread::wholeModelToLLSD(LLSD& dest, bool include_textures) result["asset_resources"] = res; #if 0 - dumpLLSDToFile(result,std::string("whole_model.xml")); + std::string name("whole_model.xml"); + dumpLLSDToFile(result,name); #endif dest = result; -- cgit v1.2.3