summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermodelpreview.cpp
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2015-05-05 17:38:01 +0300
committerandreykproductengine <akleshchev@productengine.com>2015-05-05 17:38:01 +0300
commit0faa19e03d27c9acc8b4612d4ee14a343e9240c7 (patch)
tree5698ec1990efbf83aa67de08de9c370cb25e0369 /indra/newview/llfloatermodelpreview.cpp
parent5f397bdd1831b1be593982ca8fc88dbe1a0cad07 (diff)
Linux build fix
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
-rwxr-xr-xindra/newview/llfloatermodelpreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index eacc8d87e3..f27da87636 100755
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -1670,7 +1670,7 @@ void LLModelPreview::saveUploadData(const std::string& filename, bool save_skinw
data["instance"][i] = instance.asLLSD();
}
- llofstream out(filename, std::ios_base::out | std::ios_base::binary);
+ llofstream out(filename.c_str(), std::ios_base::out | std::ios_base::binary);
LLSDSerialize::toBinary(data, out);
out.flush();
out.close();