From 70fc89e52264eb6556e894f9288506ffc129a434 Mon Sep 17 00:00:00 2001 From: mxaddict Date: Tue, 13 Feb 2024 10:19:42 +0800 Subject: [PATCH] replaced std::endl with \n --- src/util/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/settings.cpp b/src/util/settings.cpp index db3d60046ed4bb..e4cab40d8fd3ca 100644 --- a/src/util/settings.cpp +++ b/src/util/settings.cpp @@ -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; }