From 14c72b8156a67087e49f9d0b1bcc82edac215e9c Mon Sep 17 00:00:00 2001 From: Ansariel Date: Thu, 19 Dec 2024 23:16:55 +0100 Subject: [PATCH] llofstream used to need a c-string before - just keep it that way --- indra/newview/bugsplatattributes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/bugsplatattributes.cpp b/indra/newview/bugsplatattributes.cpp index 0bdf739e67..1852f9de3f 100644 --- a/indra/newview/bugsplatattributes.cpp +++ b/indra/newview/bugsplatattributes.cpp @@ -69,7 +69,7 @@ bool BugSplatAttributes::writeToFile(const std::string& file_path) // Write to a temporary file first std::string tmp_file = file_path + ".tmp"; { - llofstream ofs(tmp_file, std::ios::out | std::ios::trunc); + llofstream ofs(tmp_file.c_str(), std::ios::out | std::ios::trunc); if (!ofs.good()) { return false;