Skip to content

Commit

Permalink
replaced std::endl with \n
Browse files Browse the repository at this point in the history
  • Loading branch information
mxaddict committed Feb 13, 2024
1 parent 5db88e1 commit 70fc89e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ bool WriteSettings(const fs::path& path,
errors.emplace_back(strprintf("Error: Unable to open settings file %s for writing", fs::PathToString(path)));
return false;
}
file << out.write(/* prettyIndent= */ 4, /* indentLevel= */ 1) << std::endl;
file << out.write(/* prettyIndent= */ 4, /* indentLevel= */ 1) << "\n";
file.close();
return true;
}
Expand Down

0 comments on commit 70fc89e

Please sign in to comment.