llofstream used to need a c-string before - just keep it that way

master
Ansariel 2024-12-19 23:16:55 +01:00
parent 1b1ed164ea
commit 14c72b8156
1 changed files with 1 additions and 1 deletions

View File

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